wl1251: Set the correct dtim period to the firmware
authorVidhya Govindan <vidhya.govindan@nokia.com>
Tue, 17 Nov 2009 16:49:16 +0000 (18:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:21 +0000 (17:09 -0500)
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>
drivers/net/wireless/wl12xx/wl1251_main.c

index 41f5ad49f480313ae87503c4d14429c1d310fa75..cc32ba679098f0e02b0b376d04808062420ce17a 100644 (file)
@@ -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);