aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/event.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-05 05:56:01 -0400
committerLuciano Coelho <coelho@ti.com>2011-10-07 01:32:51 -0400
commit6ec45dc282f6983d5685758c5e8993bc2c818d3c (patch)
treed8197257f61fff38fcce32baae3cc08548e8d6ce /drivers/net/wireless/wl12xx/event.c
parent252efa4f978a2901039fffc934060fb8ccf82ac7 (diff)
wl12xx: move ps_compl into wlvif
move ps_compl into the per-interface data, rather than being global. 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/event.c b/drivers/net/wireless/wl12xx/event.c
index 4e3474c11e05..7a9913a3f71c 100644
--- a/drivers/net/wireless/wl12xx/event.c
+++ b/drivers/net/wireless/wl12xx/event.c
@@ -149,9 +149,9 @@ static int wl1271_event_ps_report(struct wl1271 *wl,
149 /* enable beacon early termination */ 149 /* enable beacon early termination */
150 ret = wl1271_acx_bet_enable(wl, wlvif, true); 150 ret = wl1271_acx_bet_enable(wl, wlvif, true);
151 151
152 if (wl->ps_compl) { 152 if (wlvif->ps_compl) {
153 complete(wl->ps_compl); 153 complete(wlvif->ps_compl);
154 wl->ps_compl = NULL; 154 wlvif->ps_compl = NULL;
155 } 155 }
156 break; 156 break;
157 default: 157 default: