[PATCH 3/3] wcn36xx: Update dtim period before starting BSS

Pontus Fuchs pontus.fuchs at gmail.com
Mon Feb 3 02:19:29 EST 2014


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: Pontus Fuchs <pontus.fuchs at gmail.com>
---
 main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main.c b/main.c
index 288c282..9ce6aba 100644
--- a/main.c
+++ b/main.c
@@ -709,6 +709,7 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw,
 			    bss_conf->enable_beacon);
 
 		if (bss_conf->enable_beacon) {
+			vif_priv->dtim_period = bss_conf->dtim_period;
 			vif_priv->bss_index = 0xff;
 			wcn36xx_smd_config_bss(wcn, vif, NULL,
 					       vif->addr, false);
-- 
1.8.3.2




More information about the wcn36xx mailing list