Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] wl12xx: fix station channel switch
@ 2012-03-12 14:36 Victor Goldenshtein
  2012-04-10 10:14 ` Luciano Coelho
  0 siblings, 1 reply; 2+ messages in thread
From: Victor Goldenshtein @ 2012-03-12 14:36 UTC (permalink / raw)
  To: linux-wireless; +Cc: coelho

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>
---
 drivers/net/wireless/wl12xx/event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/event.c b/drivers/net/wireless/wl12xx/event.c
index c953717..60e6f27 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;
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wl12xx: fix station channel switch
  2012-03-12 14:36 [PATCH] wl12xx: fix station channel switch Victor Goldenshtein
@ 2012-04-10 10:14 ` Luciano Coelho
  0 siblings, 0 replies; 2+ messages in thread
From: Luciano Coelho @ 2012-04-10 10:14 UTC (permalink / raw)
  To: Victor Goldenshtein; +Cc: linux-wireless

On Mon, 2012-03-12 at 16:36 +0200, Victor Goldenshtein wrote: 
> 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>
> ---

Applied and pushed, thanks!

-- 
Cheers,
Luca.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-10 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 14:36 [PATCH] wl12xx: fix station channel switch Victor Goldenshtein
2012-04-10 10:14 ` Luciano Coelho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox