ath9k: Add Calibration checks
authorVivek Natarajan <vnatarajan@atheros.com>
Fri, 18 Sep 2009 09:33:42 +0000 (15:03 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:38 +0000 (16:39 -0400)
commit0b98eaaa02965fb06dee4ad8c605bb3c93df2c98
tree564b56fb04c8e4a199f5bb0470570f870a5e9c74
parent181af387033e20065e94363d07ecbace7738278c
ath9k: Add Calibration checks

* Prevent divide-by-zero errors in IQ Calibration.
* Do not run temperature compensation if initPDADC or currPDADC is zero.
* Also, introduce a separate function for handling OLC for AR9287.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/calib.c