diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-23 04:31:56 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-26 15:32:42 -0400 |
commit | 487f0e010cf5b6ba504150dfb20c21fd93e3b9e6 (patch) | |
tree | f8b371210cfc47ed78806e56140c7320f7dfa306 /kernel/hrtimer.c | |
parent | d9292c0db7b4e98ae6d34a662ef49a8bd127fd8f (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 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions