Re: [ath9k-devel] [PATCH v2 08/10] ath10k: defer hw setup to start/stop mac80211 hooks

2013-06-14 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: 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

Re: [ath9k-devel] [PATCH v2 08/10] ath10k: defer hw setup to start/stop mac80211 hooks

2013-06-14 Thread Michal Kazior
On 14/06/13 14:23, Kalle Valo wrote: Michal Kazior michal.kaz...@tieto.com writes: [...] static int ath10k_start(struct ieee80211_hw *hw) { struct ath10k *ar = hw-priv; -int ret; +int ret = 0; mutex_lock(ar-conf_mutex); +if (ar-state != ATH10K_STATE_OFF) { +

[ath9k-devel] [PATCH v2 08/10] ath10k: defer hw setup to start/stop mac80211 hooks

2013-06-12 Thread Michal Kazior
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