diff options
author | Eliad Peller <eliad@wizery.com> | 2011-10-05 11:56:01 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-10-07 07:32:51 +0200 |
commit | 6ec45dc282f6983d5685758c5e8993bc2c818d3c (patch) | |
tree | d8197257f61fff38fcce32baae3cc08548e8d6ce /drivers/net/wireless/wl12xx/event.c | |
parent | wl12xx: move pspoll_work into wlvif (diff) | |
download | linux-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.c | 6 |
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: |