ath9k: Fix AR9287 calibration
authorAdrian Chadd <adrian.chadd@gmail.com>
Thu, 26 May 2011 17:08:04 +0000 (01:08 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 May 2011 16:53:48 +0000 (12:53 -0400)
commit1df85ecec36ad5da3f0165760704310d6c03f65f
tree14a43d663ef9aff20d9ecb2f0f439c96b1be443d
parent64c754ed3b0009e4fa248f739000dc234eb0d2c9
ath9k: Fix AR9287 calibration

The AR9287 calibration code was not being called because of an
incorrect MAC revision check.
This forced the AR9287 to use the AR9285 initial calibration code and
bypass the AR9287 code entirely.

Signed-off-by: Adrian Chadd <adrian@freebsd.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_calib.c