]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Re-enable interrupts after a channel change failure
authorRobert Shade <robert.shade@gmail.com>
Tue, 2 Apr 2013 23:52:45 +0000 (19:52 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Apr 2013 18:31:57 +0000 (14:31 -0400)
commit41cec61731c7405dd752dd071612f78f5375ee2f
tree230d7dcf3fc0d4ebb7a4419d7689f1e92e9e2b6c
parent817c25bcaad7ef70d30c052055c5e5e5ee7b6e49
ath9k: Re-enable interrupts after a channel change failure

ath_complete_reset will not be called if ath9k_hw_reset
is unsuccessful, so we need to re-enable intertupts to
balence the previous ath_prepare_reset call.  Also schedule a
reset as a best effort method to recover the chip from
whatever state caused the channel change failure.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=55771

Signed-off-by: Robert Shade <robert.shade@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c