ath9k: Do an AHB reset before doing RTC reset
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Mon, 31 Aug 2009 12:18:36 +0000 (17:48 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Aug 2009 18:42:15 +0000 (14:42 -0400)
commit1c29ce672fe817c208309eea0c1ff7bf76250f15
tree4f01db66751551ce2089faf67bb4fcb49c750d67
parent3107edbae8216a80920bed7f8d4ec2e6b62390f2
ath9k: Do an AHB reset before doing RTC reset

Doing an RTC reset when DMA is active may corrupt memory,
make sure no DMA is active at this moment by doing an
AHB reset.

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