Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162899
b: refs/heads/master
c: 392a0ba
h: refs/heads/master
i:
  162897: b837422
  162895: 051d3d7
v: v3
  • Loading branch information
Daniel C Halperin authored and John W. Linville committed Sep 14, 2009
1 parent 95b554d commit ad03f4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e175e99646f21602d844ce85a727c83ba644ab87
refs/heads/master: 392a0baf31b39b50cc6bf6d4400d542641d466c4
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,12 @@ static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband,
mac_index &= RATE_MCS_CODE_MSK; /* Remove # of streams */
if (mac_index >= (IWL_RATE_9M_INDEX - IWL_FIRST_OFDM_RATE))
mac_index++;
/*
* mac80211 HT index is always zero-indexed; we need to move
* HT OFDM rates after CCK rates in 2.4 GHz band
*/
if (priv->band == IEEE80211_BAND_2GHZ)
mac_index += IWL_FIRST_OFDM_RATE;
}

if ((mac_index < 0) ||
Expand Down

0 comments on commit ad03f4d

Please sign in to comment.