ath9k: Fix bug in calibration initialization
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 13 Apr 2009 16:26:59 +0000 (21:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:46 +0000 (16:54 -0400)
commit04d19ddd254b404703151ab25aa5041e50ff40f7
treef6eee40252bacc49e774ce90e3df745adb60a232
parentcbfe946860ffc718c5d99a6b740e33ac95fe8b8d
ath9k: Fix bug in calibration initialization

This patch fixes a bug in ath9k_hw_init_cal() where the wrong
calibration was being done for non-AR9285 chipsets.
Also add a few helpful comments.

Cc: stable@kernel.org
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/calib.c