diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-04-19 07:00:54 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-04-25 19:37:06 +0200 |
commit | 5443918d050a1a1e5766544e3b895e98671adeef (patch) | |
tree | f7ac0ce12020bfa18ff97bc73fe5f4a5bd7e876b /drivers/net/wireless/ath/wcn36xx | |
parent | wcn36xx: Use correct command struct for EXIT_BMPS_REQ (diff) | |
download | linux-5443918d050a1a1e5766544e3b895e98671adeef.tar.xz linux-5443918d050a1a1e5766544e3b895e98671adeef.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx')
-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 c0ba7b0775b3..680217506b3d 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: |