summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/event.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-05 11:56:01 +0200
committerLuciano Coelho <coelho@ti.com>2011-10-07 07:32:51 +0200
commit6ec45dc282f6983d5685758c5e8993bc2c818d3c (patch)
treed8197257f61fff38fcce32baae3cc08548e8d6ce /drivers/net/wireless/wl12xx/event.c
parentwl12xx: move pspoll_work into wlvif (diff)
downloadlinux-6ec45dc282f6983d5685758c5e8993bc2c818d3c.tar.xz
linux-6ec45dc282f6983d5685758c5e8993bc2c818d3c.zip
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,
/* enable beacon early termination */
ret = wl1271_acx_bet_enable(wl, wlvif, true);
- if (wl->ps_compl) {
- complete(wl->ps_compl);
- wl->ps_compl = NULL;
+ if (wlvif->ps_compl) {
+ complete(wlvif->ps_compl);
+ wlvif->ps_compl = NULL;
}
break;
default: