ath9k: request NOA update when chanctx active

Request NOA update when chanctx active, also in case
of STA.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
Kalle Valo
2015-11-27 09:37:14 +01:00
committed by Kalle Valo
parent 8b019fb0d0
commit b9a9693fd9
2 changed files with 5 additions and 2 deletions

View File

@@ -1454,7 +1454,7 @@ static void ath9k_update_p2p_ps(struct ath_softc *sc, struct ieee80211_vif *vif)
if (!sc->p2p_ps_timer)
return;
if (vif->type != NL80211_IFTYPE_STATION || !vif->p2p)
if (vif->type != NL80211_IFTYPE_STATION)
return;
sc->p2p_ps_vif = avp;