aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorVictor Goldenshtein <victorg@ti.com>2012-03-12 16:36:48 +0200
committerLuciano Coelho <coelho@ti.com>2012-04-10 12:13:35 +0300
commitec414c7c78d6d81c31d77a892fed0b5f691a6d4e (patch)
tree02ded721e3397c7031a4d40d50d1e04a2c220741 /drivers/net/wireless/wl12xx
parent446f5ca19aef28fcc3f42e08b0ad8da7cd59114b (diff)
wl12xx: fix station channel switch
Channel switch complete event wasn't handled properly in station mode, as we checked wrong CS flag. Signed-off-by: Victor Goldenshtein <victorg@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/event.c b/drivers/net/wireless/wl12xx/event.c
index c953717f38e..60e6f27566a 100644
--- a/drivers/net/wireless/wl12xx/event.c
+++ b/drivers/net/wireless/wl12xx/event.c
@@ -196,7 +196,7 @@ static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox)
bool success;
if (!test_and_clear_bit(WLVIF_FLAG_CS_PROGRESS,
- &wl->flags))
+ &wlvif->flags))
continue;
success = mbox->channel_switch_status ? false : true;