linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Roaming with libertas and wpa_supplicant not working
@ 2013-11-18 13:50 Troels Nilsson
  2013-11-25 16:16 ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Troels Nilsson @ 2013-11-18 13:50 UTC (permalink / raw)
  To: linux-wireless

Hi,

We are having a problem with a custom device which uses the libertas wifi
driver (on kernel 3.4.24) together with wpa_supplicant (0.7.3). More
specifically, whenever wpa_supplicant attempts to roam to a different access
point it gets a EALREADY error.

I have tracked down the problem to this check in sme.c:

        if (wdev->sme_state != CFG80211_SME_IDLE)
                return -EALREADY;

When we get to this check the sme_state is CFG80211_SME_CONNECTED, so
nothing gets done. Changing this check to only fail if sme_state is
CFG80211_SME_CONNECTING fixes the issue, but I guess this check is there for
a reason?

In any case I don't know enough about the wireless system to say if this is
a problem in the libertas driver or cfg80211 or maybe the way wpa_supplicant
is using the API. Any comments/help would be greatly appreciated :)


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

end of thread, other threads:[~2013-11-26 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 13:50 Roaming with libertas and wpa_supplicant not working Troels Nilsson
2013-11-25 16:16 ` Johannes Berg
2013-11-25 17:16   ` Dan Williams
2013-11-25 18:36     ` Johannes Berg
2013-11-25 20:18       ` Dan Williams
2013-11-26  8:24         ` Troels Nilsson
     [not found]           ` <CAMJBoFNRW98z1yepDDWdhi3K5VXF+QeO7yTCLy3wx4Uocgz+9A@mail.gmail.com>
2013-11-26  9:21             ` Troels Nilsson
2013-11-26 16:54           ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).