aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1251_main.c
diff options
context:
space:
mode:
authorVidhya Govindan <vidhya.govindan@nokia.com>2009-11-17 11:49:16 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-18 17:09:21 -0500
commit72b57344a2a1f98c6838c2268fdc5ed5fae54cd8 (patch)
treeaca3c2684844c5d01c149888f7e9dc42bbfba3e4 /drivers/net/wireless/wl12xx/wl1251_main.c
parentd531cf303f765bf3477330e58fbeab75da668931 (diff)
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 <vidhya.govindan@nokia.com> Reviewed-by: Janne Ylalehto <janne.ylalehto@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index 41f5ad49f480..cc32ba679098 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,
1105 wl->beacon_int = bss_conf->beacon_int; 1105 wl->beacon_int = bss_conf->beacon_int;
1106 wl->dtim_period = bss_conf->dtim_period; 1106 wl->dtim_period = bss_conf->dtim_period;
1107 1107
1108 /* FIXME: call join */ 1108 ret = wl1251_acx_wr_tbtt_and_dtim(wl, wl->beacon_int,
1109 1109 wl->dtim_period);
1110 wl->aid = bss_conf->aid; 1110 wl->aid = bss_conf->aid;
1111 1111
1112 ret = wl1251_build_ps_poll(wl, wl->aid); 1112 ret = wl1251_build_ps_poll(wl, wl->aid);