ath9k_hw: fix calibration on 5 ghz
authorFelix Fietkau <nbd@openwrt.org>
Mon, 29 Aug 2011 08:06:14 +0000 (10:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:25 +0000 (11:40 -0700)
commit88294ead621e9677bb3108027de2b8d657c25852
tree38d40d9fc0cdad9db29161458d19dad95a916a99
parent9f4929636f54a0cc33e249d507356bbc3224c7b3
ath9k_hw: fix calibration on 5 ghz

commit 0e4660cbe51276e86dbdab17228733dbcdb49249 upstream.

ADC calibrations cannot run on 5 GHz with fast clock enabled. They
need to be disabled, otherwise they'll hang and IQ mismatch calibration
will not be run either.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Adrian Chadd <adrian@freebsd.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/ar9002_calib.c