Skip to content

Commit

Permalink
wl12xx: fix station channel switch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Victor Goldenshtein authored and Luciano Coelho committed Apr 10, 2012
1 parent 446f5ca commit ec414c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/wl12xx/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec414c7

Please sign in to comment.