Commit 72b57344 authored by Vidhya Govindan's avatar Vidhya Govindan Committed by John W. Linville
Browse files

wl1251: Set the correct dtim period to the firmware



This patch sets the dtim period obtained from the mac80211 to firmware.

Signed-off-by: default avatarVidhya Govindan <vidhya.govindan@nokia.com>
Reviewed-by: default avatarJanne Ylalehto <janne.ylalehto@nokia.com>
Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d531cf30
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);