diff options
author | Kalle Valo <Janusz.Dziedzic@tieto.com> | 2015-11-27 09:37:14 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-01-26 16:47:38 +0200 |
commit | b9a9693fd9aea43f50b107dfc8cbaea317f95a79 (patch) | |
tree | 8c257da20681c1dce91689cd9c10ede319a3d1d7 /drivers/net/wireless/ath/ath9k/channel.c | |
parent | 8b019fb0d0e75e2f682f17742b99c0ca970ca024 (diff) | |
download | op-kernel-dev-b9a9693fd9aea43f50b107dfc8cbaea317f95a79.zip op-kernel-dev-b9a9693fd9aea43f50b107dfc8cbaea317f95a79.tar.gz |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/channel.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index 50e614b..0bcb82a 100644 --- a/drivers/net/wireless/ath/ath9k/channel.c +++ b/drivers/net/wireless/ath/ath9k/channel.c @@ -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; |