Search Linux Wireless

Roaming with libertas and wpa_supplicant not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :)

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux