aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/event.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-10 04:12:59 -0400
committerLuciano Coelho <coelho@ti.com>2011-10-11 08:09:57 -0400
commit9eb599e9c62dcfd4efece1936c385381b366b684 (patch)
treeb368f89a6282a3ce02197f4be9d22cae192a39df /drivers/net/wireless/wl12xx/event.c
parent48e93e402ad19f570bae323b07911bdf6562af8e (diff)
wl12xx: rearm rx streaming per vif
Currently, the rx streaming doesn't support multi-vif (the actual wlvif is taken from wl->vif, and the management is global). Make the rx streaming timers/works per-vif, and pass the the actual vif as param. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/event.c')
-rw-r--r--drivers/net/wireless/wl12xx/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/event.c b/drivers/net/wireless/wl12xx/event.c
index dbc40bb49bcd..be9e1121c8f8 100644
--- a/drivers/net/wireless/wl12xx/event.c
+++ b/drivers/net/wireless/wl12xx/event.c
@@ -220,12 +220,12 @@ static void wl12xx_event_soft_gemini_sense(struct wl1271 *wl,
220 } 220 }
221 set_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags); 221 set_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags);
222 } else { 222 } else {
223 clear_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags);
223 wl12xx_for_each_wlvif_sta(wl, wlvif) { 224 wl12xx_for_each_wlvif_sta(wl, wlvif) {
224 vif = wl12xx_wlvif_to_vif(wlvif); 225 vif = wl12xx_wlvif_to_vif(wlvif);
225 ieee80211_enable_dyn_ps(vif); 226 ieee80211_enable_dyn_ps(vif);
227 wl1271_recalc_rx_streaming(wl, wlvif);
226 } 228 }
227 clear_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags);
228 wl1271_recalc_rx_streaming(wl);
229 } 229 }
230 230
231} 231}