From: Pontus Fuchs Date: Wed, 12 Feb 2014 19:04:48 +0000 (+0000) Subject: wcn36xx: Update dtim period before starting BSS X-Git-Tag: accepted/tizen/common/20141203.182822~316^2~18^2^2~270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=908628db148ed542fcfde1bff9e5d4607f684b73;p=platform%2Fkernel%2Flinux-arm64.git 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: Pontus Fuchs Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index dca21ee..4ab5370 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -708,6 +708,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);