Failed to initial ap scan

Dave McLaughlin
Any here running any of the Mini210 or Tiny210 boards with Android?

I have a Mini210 with Gingerbread and the WiFi does not stay active even
when I apply a WiFi lock. After the power down, the wpa_supplicant keeps
trying to initiate a wifi scan but fails.

I have the settings set for 30 mins in Android but the WiFi powers down
after about 6 mins if there is no net access from any application.

The logcat shows the following when it fails. (deleted stuff to clean it
up)

wpa_supplicant(137): CTRL-EVENT-DISCONNECTED - Disconnect event - remove
keys
wpa_supplicant(137): CTRL-EVENT-STATE-CHANGE id=0 state=0
WifiMonitor(95): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove
keys]
WifiMonitor(95): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
WifiStateTracker(95): New network state is DISCONNECTED
WifiStateTracker(95): Changing supplicant state: COMPLETED ==> DISCONNECTED
Alarm System(1093): SUPPLICANT_STATE_CHANGED_ACTION
wpa_supplicant(137): CTRL-EVENT-STATE-CHANGE id=0 state=2
WifiMonitor(95): Event [CTRL-EVENT-STATE-CHANGE id=0 state=2]
WifiStateTracker(95): Changing supplicant state: DISCONNECTED ==> SCANNING
Alarm System(1093): SUPPLICANT_STATE_CHANGED_ACTION
wpa_supplicant(137): ioctl SIOCGIWSTATS failed, errno = 95
wpa_supplicant(137): ioctl SIOCGIWRATE failed, errno = 95
wpa_supplicant(137): FAWEXT: noise = 0 (0), level = -50 (206)
wpa_supplicant(137): FAWEXT: noise = 0 (0), level = -36 (220)
wpa_supplicant(137): FAWEXT: noise = 0 (0), level = -80 (176)
wpa_supplicant(137): FAWEXT: noise = 0 (0), level = -77 (179)
wpa_supplicant(137): CTRL-EVENT-SCAN-RESULTS  Ready
wpa_supplicant(137): Trying to associate with 00:14:6c:3e:b4:de
(SSID='dave_lockedout' freq=2437 MHz)
wpa_supplicant(137): CTRL-EVENT-STATE-CHANGE id=0 state=3
WifiMonitor(95): Event [Trying to associate with 00:14:6c:3e:b4:de
(SSID='dave_lockedout' freq=2437 MHz)]
WifiMonitor(95): Event [CTRL-EVENT-STATE-CHANGE id=0 state=3]
WifiStateTracker(95): Changing supplicant state: SCANNING ==> ASSOCIATING
wpa_supplicant(137): CTRL-EVENT-STATE-CHANGE id=0 state=4
wpa_supplicant(137): Associated with 00:14:6c:3e:b4:de
wpa_supplicant(137): CTRL-EVENT-STATE-CHANGE id=0 state=7
wpa_supplicant(137): CTRL-EVENT-CONNECTED - Connection to 00:14:6c:3e:b4:de
completed (reauth) [id=0 id_str=]


Any help appreciated. I have been tearing my hear out for weeks on this now
and still can't find a solution.