ath9k: Fix bug in reading input gpio state for ar9003
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 1 Dec 2010 07:24:09 +0000 (23:24 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:21 +0000 (13:58 -0800)
commit31f0fa5ae67535db3716b2efd5718c8595370dd4
tree1cd2242e58327664d757fb9cfa6b4edd2a0a45b7
parenta7d44afb17b90f24f54ed42fa06da098f8ece530
ath9k: Fix bug in reading input gpio state for ar9003

commit 9306990a656d9cfd8bf3586938012729c1f2ea50 upstream.

The register which gives input gpio state is 0x404c for ar9003,
currently 0x4048 is wrongly used. This will disable RF and make
it unusable on some of AR9003.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/reg.h