Scan request looks ignored when wpa_state is in scanning state with dbus interface

Johncy Bennette johncyrr at gmail.com
Wed Feb 24 03:57:09 PST 2016


Hi,

I am using wpa_supplicant + dbus to connect my device to Access point,
scan access points, disconnect from access points. If I send a scan
command, when there is a problem connecting to the access points, My
scan list is empty.

The sequence is as below,

My device connected to a access point successfully.
After a while, switched off the access point, and my software tries to
reconnect when there is a disconnect signal at 30 seconds interval
(unless user has disabled wifi). At this period if I try to scan the
wifi networks my scan list is empty.
When i send wpa_cli -iwlan0 status it shows the wpa_state as SCANNING.
I could see there is no scan_done signal received from dbus with dbus-monitor

How to fix this?

Regards,
Johncy.



More information about the Hostap mailing list