iwlwifi: move wowlan bool into priv
With the new WoWLAN flow into the transport there no longer is a need for this to be shared, so move it into priv. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
2dd4f9f731
commit
15b86bff99
8 changed files with 10 additions and 9 deletions
|
@ -418,7 +418,7 @@ static int iwlagn_mac_suspend(struct ieee80211_hw *hw,
|
|||
goto out;
|
||||
|
||||
error:
|
||||
priv->shrd->wowlan = false;
|
||||
priv->wowlan = false;
|
||||
iwlagn_prepare_restart(priv);
|
||||
ieee80211_restart_hw(priv->hw);
|
||||
out:
|
||||
|
@ -474,7 +474,7 @@ static int iwlagn_mac_resume(struct ieee80211_hw *hw)
|
|||
/* we'll clear ctx->vif during iwlagn_prepare_restart() */
|
||||
vif = ctx->vif;
|
||||
|
||||
priv->shrd->wowlan = false;
|
||||
priv->wowlan = false;
|
||||
|
||||
device_set_wakeup_enable(trans(priv)->dev, false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue