mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Luciano Coelho <[email protected]>
This commit is contained in:
parent
446f5ca19a
commit
ec414c7c78
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue