wl12xx: fix station channel switch
PATCH 1/1 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]>
--- drivers/net/wireless/wl12xx/event.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/wl12xx/event.c +1 -1
@@ -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;
Signature · 1 line
1.7.5.4
Quoted 6 lines · Victor Goldenshtein
Channel switch complete event wasn't handled
properly in station mode, as we checked wrong
CS flag.Signed-off-by Victor Goldenshtein <[email protected]>---
Applied and pushed, thanks!
Signature · 2 lines
Cheers, Luca.