summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/xmit.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-02-25 12:24:11 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-25 15:33:39 -0500
commit850bedcc10377629ea88c96c07f8e1d0a99cf4ca (patch)
tree102aa7e024d291a71fc250c2b680e83f4f77e2ad /drivers/net/wireless/b43/xmit.c
parent90b4ca9dba87bef9a3352c3d5bcab998be70fc4f (diff)
iwlagn: fix iwlagn_check_needed_chains
This function was intended to calculate the number of RX chains needed, but could only work where the AP's streams were asymmetric, i.e. 2 TX and 3 RX or similar. In the case where IEEE80211_HT_MCS_TX_RX_DIFF was not set, this function would calculate the wrong information. Additionally, mac80211 didn't pass through the required values at all, so it couldn't work anyway. Rewrite the logic in this function and add appropriate comments to make it readable. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.c')
0 files changed, 0 insertions, 0 deletions