Commit 908628db authored by Pontus Fuchs's avatar Pontus Fuchs Committed by John W. Linville

wcn36xx: Update dtim period before starting BSS

The dtim period sent to FW was 0 because the dtim period
was never set. This caused an incorrect dtim count to be sent in
beacons.
Signed-off-by: default avatarPontus Fuchs <pontus.fuchs@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 82cad2a0
...@@ -708,6 +708,7 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw, ...@@ -708,6 +708,7 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw,
bss_conf->enable_beacon); bss_conf->enable_beacon);
if (bss_conf->enable_beacon) { if (bss_conf->enable_beacon) {
vif_priv->dtim_period = bss_conf->dtim_period;
vif_priv->bss_index = 0xff; vif_priv->bss_index = 0xff;
wcn36xx_smd_config_bss(wcn, vif, NULL, wcn36xx_smd_config_bss(wcn, vif, NULL,
vif->addr, false); vif->addr, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment