On Tue, Sep 21, 2010 at 11:28 AM, Lucio Maciel <[email protected]> wrote:
> Hi,
>
> On 09/20/2010 11:51 AM, Samuel Ortiz wrote:
>>>
>>> this repeats forever... and I'm already connected to wifi on eth1
>>> (broadcom-sta, "wl" driver).
>>
>> That shouldn't happen, and I'm suspecting connmand is not triggering those
>> scans. Could you please check if wifi_scan() is called before those scans.
>> ?
>> If wifi_scan() is not called, the next step would be to check what
>> wpa_supplicant is doing and see if it's doing passive or active scans.
>>
>
> This happens when you are connected to a wifi network and wpa_supplicant
> fires a disconnect event (for example if you turn of the AP). This also
> happens if you are connected to a wifi network that changes its security
> from wpa->wpa2 or wpa2->wpa while connected.
>
> As this disconnect is not triggered by connman, task->disconnecting is FALSE
> and connman will not call "removeNetwork" on supplicant and it will start
> scanning for the disconnected SSID every 5 seconds.
>
> I've sent a patch right now to solve this issue.
> [PATCH] Call remove_network() on unsolicited disconnect.

Okay! As I could not test it yet, maybe you saved me some time by
testing your patch directly :-)

Will report this weekend

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to