diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-04-19 05:00:54 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-04-25 17:37:06 (GMT) |
commit | 5443918d050a1a1e5766544e3b895e98671adeef (patch) | |
tree | f7ac0ce12020bfa18ff97bc73fe5f4a5bd7e876b | |
parent | 6770559b8f614d3569ced7a7e3a8e846115e77af (diff) | |
download | linux-5443918d050a1a1e5766544e3b895e98671adeef.tar.xz |
wcn36xx: Delete BSS before idling link
When disabling the beacon we must delete the bss before idling the link.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index c0ba7b0..6802175 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -779,9 +779,9 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw, wcn36xx_smd_set_link_st(wcn, vif->addr, vif->addr, link_state); } else { + wcn36xx_smd_delete_bss(wcn, vif); wcn36xx_smd_set_link_st(wcn, vif->addr, vif->addr, WCN36XX_HAL_LINK_IDLE_STATE); - wcn36xx_smd_delete_bss(wcn, vif); } } out: |