From: Vidhya Govindan Date: Tue, 17 Nov 2009 16:49:16 +0000 (+0200) Subject: wl1251: Set the correct dtim period to the firmware X-Git-Tag: v2.6.33-rc1~388^2~214^2~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72b57344a2a1f98c6838c2268fdc5ed5fae54cd8;p=profile%2Fivi%2Fkernel-x86-ivi.git wl1251: Set the correct dtim period to the firmware This patch sets the dtim period obtained from the mac80211 to firmware. Signed-off-by: Vidhya Govindan Reviewed-by: Janne Ylalehto Signed-off-by: Luciano Coelho Signed-off-by: Kalle Valo Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index 41f5ad4..cc32ba6 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c @@ -1105,8 +1105,8 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw, wl->beacon_int = bss_conf->beacon_int; wl->dtim_period = bss_conf->dtim_period; - /* FIXME: call join */ - + ret = wl1251_acx_wr_tbtt_and_dtim(wl, wl->beacon_int, + wl->dtim_period); wl->aid = bss_conf->aid; ret = wl1251_build_ps_poll(wl, wl->aid);