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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:45 +0000 (17:21 -0700)
commitc661b37a34b6449d533c109472e19c7b005d164b
tree097e8f440c48615510d8b7f96285131b12bbbe7b
parent452c0dc821996470f847ac57dd3ca51a34a4c017
ath9k: avoid accessing MRC registers on single-chain devices

commit a1c781bb20ac1e03280e420abd47a99eb8bbdd3b upstream.

They are not implemented, and accessing them might trigger errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ar9003_phy.c