]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: improve suspend/resume reliability
authorFelix Fietkau <nbd@openwrt.org>
Wed, 3 Oct 2012 19:07:51 +0000 (21:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Oct 2012 20:26:17 +0000 (16:26 -0400)
commit970de8ae9a31ed04d68f06b3515f3bf493c6e3ab
tree72b22bf99cd0848df867d821231e52be36a40cbe
parent51db69e18e3aff224a8bb2700ad14f8ee4ae4a7b
ath9k: improve suspend/resume reliability

Ensure that drv_start() always returns true, as a failing hw start usually
eventually leads to crashes when there's still a station entry present.
Call a power-on reset after a resume and after a hw reset failure to bring
the hardware back to life again.

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