Needs to disconnect from previous AP before associating to a new one?

Lin Ma linmaonly at
Mon Nov 29 17:11:40 EST 2010

Hello Everyone,

I'm using Linux kernel 2.6.35. Looks like nl80211/cfg80211 directly returns
-EALREADY if it is connected to any AP (in __cfg80211_connect function in
net\wireless\sme.c). This will cause association to a new AP to fail unless
you disconnect from the previous connected AP. Unfortunately Android does
not do this... Has anyone got the same problem before and got a solution for

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the HostAP mailing list