From: Michal Kazior Date: Tue, 16 Jul 2013 07:38:57 +0000 (+0200) Subject: ath10k: defer hw setup to start/stop mac80211 hooks X-Git-Tag: v3.12-rc1~132^2~297^2^2~40^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818bdd16b229919cfd07447d261154a1343871e1;p=pandora-kernel.git ath10k: defer hw setup to start/stop mac80211 hooks This fixes suspend-to-disk. The hardware is now re-initialized upon freeze/thaw properly. This also makes suspend/resume re-initialize the hardware as WoWLAN support is not done yet. With some little work it should be possible to support hw reconfiguration for hw/fw recovery. HW must be initialized once before registering to mac80211 because FW determinates what hw capabilities can be advertised. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed