diff options
author | Eliad Peller <eliad@wizery.com> | 2011-10-10 10:12:59 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-10-11 14:09:57 +0200 |
commit | 9eb599e9c62dcfd4efece1936c385381b366b684 (patch) | |
tree | b368f89a6282a3ce02197f4be9d22cae192a39df /drivers/net/wireless/wl12xx/acx.c | |
parent | wl12xx: move tx_security_seq into wlvif (diff) | |
download | linux-9eb599e9c62dcfd4efece1936c385381b366b684.tar.xz linux-9eb599e9c62dcfd4efece1936c385381b366b684.zip |
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/acx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/acx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/acx.c b/drivers/net/wireless/wl12xx/acx.c index 5b70cc19e1d4..21e74ca4ddb2 100644 --- a/drivers/net/wireless/wl12xx/acx.c +++ b/drivers/net/wireless/wl12xx/acx.c @@ -1510,10 +1510,9 @@ out: return ret; } -int wl1271_acx_ps_rx_streaming(struct wl1271 *wl, bool enable) +int wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, + bool enable) { - struct ieee80211_vif *vif = wl->vif; /* TODO: get as param */ - struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); struct wl1271_acx_ps_rx_streaming *rx_streaming; u32 conf_queues, enable_queues; int i, ret = 0; |