aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/tx.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-10 04:13:13 -0400
committerLuciano Coelho <coelho@ti.com>2011-10-11 08:12:13 -0400
commit6e8cd3310491b10db20d0f7eaf5713b05fa7b753 (patch)
tree45022c388445ae10ab24f2ad08a247060effbc88 /drivers/net/wireless/wl12xx/tx.c
parent9f259c4e5e42d5f0c25675dc1088cd96dc81a9f1 (diff)
wl12xx: replace all remaining wl->vif references
wl->vif is appropriate only when a single vif is being used. Instead, pass wlvif as parameter or iterate through all the vifs (e.g. when a global configuration was changed) Leave wl->vif only to determine whether a vif was already added (this check will be removed as well after both the driver and fw will support multiple vifs) Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/tx.c')
-rw-r--r--drivers/net/wireless/wl12xx/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/tx.c b/drivers/net/wireless/wl12xx/tx.c
index 604913ff42bd..185a65d971ff 100644
--- a/drivers/net/wireless/wl12xx/tx.c
+++ b/drivers/net/wireless/wl12xx/tx.c
@@ -146,7 +146,7 @@ static void wl1271_tx_regulate_link(struct wl1271 *wl,
146 * case FW-memory congestion is not a problem. 146 * case FW-memory congestion is not a problem.
147 */ 147 */
148 if (!single_sta && fw_ps && tx_pkts >= WL1271_PS_STA_MAX_PACKETS) 148 if (!single_sta && fw_ps && tx_pkts >= WL1271_PS_STA_MAX_PACKETS)
149 wl1271_ps_link_start(wl, hlid, true); 149 wl12xx_ps_link_start(wl, wlvif, hlid, true);
150} 150}
151 151
152bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) 152bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb)