On Sat, 2016-04-02 at 19:30 +0530, Johncy Bennette wrote: > Hi, > I am using wpa_supplicant 2.5_devel version. I am using > dbus+wpa_supplicant to connect to wireless network. I am doing kind > of > repeated tests like, disconnect/connect to wifi, power off, scan. At > one point the scan list is empty. The connect to WiFi fails. Until I > reset couldn't recover from that condition. I have captured the > wpa_supplicant logs with -ddd option > > Finding the difference between working and non-working logs show the > below lines are not present in the non-working log mainly. Yeah, your driver (ti wl18xx) is simply not returning an BSSes for any of the scans. That's a driver problem, unless it really can't see any BSSes. Try rmmod-ing the driver module, then modprobing it again, and if that fixes things (because it re-inits the hardware) then the problem is likely in the kernel driver. Dan > Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: wlan0: > Added interface wlan0 > > Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: wlan0: > State: INACTIVE -> DISCONNECTED > > Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: nl80211: > Set wlan0 operstate 0->0 (DORMANT) > > Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: netlink: > Operstate: ifindex=6 linkmode=-1 (no change), operstate=5 > (IF_OPER_DORMANT) > > Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: nl80211: > Create interface iftype 10 (P2P_DEVICE) > > Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: nl80211: > New P2P Device interface p2p-dev-wlan0 (0x2) created > > wpa_cli -iwlan0 scan gave OK > wpa_cli -iwlan0 scan_results didnt give any results and showed only > bssid / frequency / signal level / flags / ssid > > iw dev wlan0 scan didnt give any results > > wpa_cli -iwlan0 status showed, > wpa_state=SCANNING > p2p_device_address=20:c3:8f:8d:7f:12 > address=20:c3:8f:8d:7f:11 > uuid=4b03ecb5-33d1-5143-81b6-632370f0174b > > Attached both working and notworking logs. > > Regards, > Johncy. > _______________________________________________ > Hostap mailing list > Hostap@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/hostap _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap