ath9k: fix a chip wakeup related crash in ath9k_start
authorFelix Fietkau <nbd@openwrt.org>
Fri, 25 Mar 2011 16:43:41 +0000 (17:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Mar 2011 19:42:01 +0000 (15:42 -0400)
commitf62d816fc4324afbb7cf90110c70b6a14139b225
tree15c4e59d8b2d9cc84199c6cf4e8374981403ab43
parent4dc217df68a17a57f8464c74c1b4785e40bddf77
ath9k: fix a chip wakeup related crash in ath9k_start

When the chip is still asleep when ath9k_start is called,
ath9k_hw_configpcipowersave can trigger a data bus error.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c