From: Felix Fietkau Date: Fri, 23 Jul 2010 02:31:56 +0000 (+0200) Subject: ath9k_hw: simplify noisefloor calibration chainmask calculation X-Git-Tag: v2.6.36-rc1~571^2~64^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=487f0e010cf5b6ba504150dfb20c21fd93e3b9e6;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed