From: Michal Kazior Date: Tue, 16 Jul 2013 07:38:54 +0000 (+0200) Subject: ath10k: decouple suspend code X-Git-Tag: v3.12-rc1~132^2~297^2^2~40^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd13cad1caf94ba66f626a94887b795fe23f939;p=pandora-kernel.git ath10k: decouple suspend code Split up fw-related and hw-related suspension code. Although we don't advertise WoW support to mac80211 yet it's useful to keep the code in suspend/resume hooks. At this point there's no need to keep pci pm ops. In case of WoW mac80211 calls ath10k_suspend() which should take care of entering low-power mode. In case WoW is not available mac80211 will go through regular interface teradown and use start/stop. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed