aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-22 22:31:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-26 15:32:42 -0400
commit487f0e010cf5b6ba504150dfb20c21fd93e3b9e6 (patch)
treef8b371210cfc47ed78806e56140c7320f7dfa306 /net/mac80211/util.c
parentd9292c0db7b4e98ae6d34a662ef49a8bd127fd8f (diff)
ath9k_hw: simplify noisefloor calibration chainmask calculation
The noisefloor array index always corresponds to the rx chain number it belongs to (with an offset of 3 for the extension chain). It's much simpler (and actually more correct) to directly use the chainmask to calculate the bitmask for the noisefloor array, instead of using these weird chip revision checks and hardcoded mask values. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions