ath5k: Fix reset and interrupts for AHB type of devices.
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Dec 2010 09:27:21 +0000 (10:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Dec 2010 20:17:51 +0000 (15:17 -0500)
commit4cebb34caa5122216a1e2451eae9e0fc47ec2589
tree7a4281d259e127270d0a68d0aa8a9a178e897781
parenta0b907ee2a71052fefdf6151764095f3f97b3275
ath5k: Fix reset and interrupts for AHB type of devices.

On WiSoc we cannot access mac register before it is resetted.
It will crash hardware otherwise.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/reset.c