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)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Dec 2010 19:10:33 +0000 (14:10 -0500)
commit9306990a656d9cfd8bf3586938012729c1f2ea50
treedf06e13f81915f3d6443df640116d0c61c747634
parent1937721f5637b53c794124cf4fd9edad0eb315ef
ath9k: Fix bug in reading input gpio state for ar9003

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.

Cc:stable@kernel.org
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/reg.h