Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299046
b: refs/heads/master
c: e89f769
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Apr 9, 2012
1 parent dd4da9f commit 220fc83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa331df0e5e6ebac086ed80b4fbbfd912fe6b32a
refs/heads/master: e89f7690a3adbde0af7c294f83c242ba6a367ef0
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/rtlwifi/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,10 @@ void rtl_get_tcb_desc(struct ieee80211_hw *hw,
__le16 fc = hdr->frame_control;

txrate = ieee80211_get_tx_rate(hw, info);
tcb_desc->hw_rate = txrate->hw_value;
if (txrate)
tcb_desc->hw_rate = txrate->hw_value;
else
tcb_desc->hw_rate = 0;

if (ieee80211_is_data(fc)) {
/*
Expand Down

0 comments on commit 220fc83

Please sign in to comment.