]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitceb26a6013b962b82f644189ea29d802490fc8fc
tree72b22bf99cd0848df867d821231e52be36a40cbe
parent93170516a4d64319ffcc43bc9dd61f12775bd297
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