diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2021-10-22 15:04:47 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-27 10:43:31 +0300 |
commit | 285bb1738e196507bf985574d0bc1e9dd72d46b1 (patch) | |
tree | 6484e6bd382d242f63b8f1bb1cdc175269274ce8 /drivers/net/wireless/ath/wcn36xx/main.c | |
parent | wcn36xx: Treat repeated BMPS entry fail as connection loss (diff) | |
download | linux-dev-285bb1738e196507bf985574d0bc1e9dd72d46b1.tar.xz linux-dev-285bb1738e196507bf985574d0bc1e9dd72d46b1.zip |
Revert "wcn36xx: Disable bmps when encryption is disabled"
This reverts commit c6522a5076e1a65877c51cfee313a74ef61cabf8.
Testing on tip-of-tree shows that this is working now. Revert this and
re-enable BMPS for Open APs.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211022140447.2846248-3-bryan.odonoghue@linaro.org
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/main.c')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 80d818c5a64e..644b8523df68 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -613,15 +613,6 @@ static int wcn36xx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, } } } - /* FIXME: Only enable bmps support when encryption is enabled. - * For any reasons, when connected to open/no-security BSS, - * the wcn36xx controller in bmps mode does not forward - * 'wake-up' beacons despite AP sends DTIM with station AID. - * It could be due to a firmware issue or to the way driver - * configure the station. - */ - if (vif->type == NL80211_IFTYPE_STATION) - vif_priv->allow_bmps = true; break; case DISABLE_KEY: if (!(IEEE80211_KEY_FLAG_PAIRWISE & key_conf->flags)) { @@ -922,7 +913,6 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw, vif->addr, bss_conf->aid); vif_priv->sta_assoc = false; - vif_priv->allow_bmps = false; wcn36xx_smd_set_link_st(wcn, bss_conf->bssid, vif->addr, |