ath9k_hw: disable phy restart on baseband panic caused by RXSM
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 20 May 2011 12:22:13 +0000 (17:52 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 May 2011 19:43:31 +0000 (15:43 -0400)
commit51ac8cbb2176dc159ee910d7074c6796079c3068
treebddc3904e1f35f9cf4c5e774bb54891f8773f461
parenta4d86d953b8593791cb29cf2acffd48f9ee6c4f9
ath9k_hw: disable phy restart on baseband panic caused by RXSM

While receiving unsupported rate frame rx state machine
gets into a state 0xb and if phy_restart happens in that
state, BB would go hang. If RXSM is in 0xb state after
first bb panic, ensure to disable the phy_restart.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h