ath5k: Fix I/Q calibration
authorLukáš Turek <8an@praha12.net>
Thu, 19 Nov 2009 22:02:02 +0000 (23:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Nov 2009 22:05:29 +0000 (17:05 -0500)
commitf1cf2dbd0f798b71b1590e7aca6647f2caef1649
treeb5b6a0e0242818329b4914352df7a868e58cd235
parent98e3ac99e25601c3fb83dc91367d76f864496847
ath5k: Fix I/Q calibration

The sign of correction coefficients was lost in the calculations, which
caused high packetloss in 802.11a mode after the results were applied.
Fixed by removing unneccesary and broken AND with a bit mask.

Signed-off-by: Lukas Turek <8an@praha12.net>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c