Hi

WifiStateTracker  calls to resetInterface() when it disconnects from
the current AP (one of the cases)

resetInterface() calls to disableInterface() that turns network down.

My wireless device uses standard wireless extension methods
(driver_wext .c in wpa_supplicant)

If the interface is disabled I cannot (re)connect to WPA/WPA2 AP
because it cannot receive eapols (L2 is disabled).
Wpa supplicant comes to ASSOCIATED stage and disconnects.
So I cannot get supplicant to move to connected state (However I can
connect to Open Networks because they require only association state).

>From the code I see that the code that will reenable network will only
be called from configurenetwork() but it is called only if supplicant
state is connected (but we cannot connect to WPA/WPA2 because the
network is disabled).

So my question is why to disable interface after disconnect and what
is the best place to fix this issue.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to