ath9k: avoid accessing MRC registers on single-chain devices
authorFelix Fietkau <nbd@openwrt.org>
Tue, 13 Aug 2013 10:33:28 +0000 (12:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:07:58 +0000 (16:07 -0400)
commita1c781bb20ac1e03280e420abd47a99eb8bbdd3b
tree114f7f3d5b01fb7c364802f43fa470dcf56b91e4
parentca6d4a74c4dea24277d4ce2df4940da6003a2a16
ath9k: avoid accessing MRC registers on single-chain devices

They are not implemented, and accessing them might trigger errors

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c