]> 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)
commitd5e0fae4d52745fc44f2116dbb4c86ad08d750f2
tree72b22bf99cd0848df867d821231e52be36a40cbe
parent9b5145eb4994f441695177494648690d073f0b10
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