Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec414c7c authored by Victor Goldenshtein's avatar Victor Goldenshtein Committed by Luciano Coelho
Browse files

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: default avatarVictor Goldenshtein <victorg@ti.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 446f5ca1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;