[G1 Android Development] skrki:
I've been getting that WiFi problem as well. The consequences are:

- Loosing the wireless "Advanced settings" and the remembered password for my home network

- Inability to scan the area for available networks

- Obviously, inability to connect to any networks

I have no time at all to deal with this problem, so I'll just leave it here for now. Lot's of job related stuff is going on, and I have a tough deadline to meet, so I'll get back to this a bit later. :( A quick remark I might add now, is that I noticed my phone generally slow down at the time of this error (enormous lag on the incoming call). I suspected the swap, so I disabled it, let it clear out, and enabled it again. Then, switched on the WiFi, and I was able to connect normally. I don't know if it's related at all, I suspect so, but I might be wrong. I'll give it a more extensive test later. Here is the log:

# logcat -d | grep Wifi
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 147): ACTION_SCREEN_ON
D/WifiService( 147): ACTION_SCREEN_OFF
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 147): ACTION_SCREEN_ON
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiHW ( 147): 'SCAN' command timed out.
D/WifiHW ( 147): 'DRIVER RSSI' command timed out.
V/WifiMonitor( 147): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0]
V/WifiStateTracker( 147): New network state is DISCONNECTED
D/WifiService( 147): ACTION_SCREEN_OFF
V/WifiStateTracker( 147): Changing supplicant state: COMPLETED ==> DISCONNECTED
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=2]
V/WifiMonitor( 147): Event [Trying to associate with 00:1a:70:a2:96:22 (SSID='VSHome' freq=2437 MHz)]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=3]
V/WifiStateTracker( 147): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiStateTracker( 147): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 147): ACTION_BATTERY_CHANGED pluggedType: 0
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=4]
V/WifiStateTracker( 147): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiMonitor( 147): Event [Associated with 00:1a:70:a2:96:22]
V/WifiMonitor( 147): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0]
V/WifiStateTracker( 147): New network state is DISCONNECTED
V/WifiStateTracker( 147): Changing supplicant state: ASSOCIATED ==> DISCONNECTED
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=2]
V/WifiStateTracker( 147): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 147): Event [Trying to associate with 00:1a:70:a2:96:22 (SSID='VSHome' freq=2437 MHz)]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=3]
V/WifiStateTracker( 147): Changing supplicant state: SCANNING ==> ASSOCIATING
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=4]
V/WifiMonitor( 147): Event [Associated with 00:1a:70:a2:96:22]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=5]
V/WifiStateTracker( 147): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiStateTracker( 147): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
D/WifiStateTracker( 147): Deconfiguring interface and stopping DHCP
V/WifiMonitor( 147): Event [WPA: 4-Way Handshake failed - pre-shared key may be incorrect]
V/WifiMonitor( 147): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=2]
V/WifiMonitor( 147): Event [Trying to associate with 00:1a:70:a2:96:22 (SSID='VSHome' freq=2437 MHz)]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=3]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=4]
V/WifiMonitor( 147): Event [Associated with 00:1a:70:a2:96:22]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=5]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=5]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=6]
V/WifiMonitor( 147): Event [WPA: Key negotiation completed with 00:1a:70:a2:96:22 [PTK=CCMP GTK=CCMP]]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=7]
V/WifiMonitor( 147): Event [CTRL-EVENT-CONNECTED - Connection to 00:1a:70:a2:96:22 completed (reauth) [id=2 id_str=]]
E/WifiStateTracker( 147): Could not stop DHCP
V/WifiStateTracker( 147): New network state is DISCONNECTED
V/WifiStateTracker( 147): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> DISCONNECTED
D/WifiStateTracker( 147): Failed to authenticate, disabling network 2
E/WifiStateTracker( 147): Failed to disable network: invalid network id: 2
V/WifiStateTracker( 147): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0]
V/WifiStateTracker( 147): Changing supplicant state: SCANNING ==> ASSOCIATING
V/WifiStateTracker( 147): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiStateTracker( 147): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
V/WifiStateTracker( 147): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
V/WifiStateTracker( 147): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
V/WifiStateTracker( 147): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED
V/WifiStateTracker( 147): New network state is CONNECTED
V/WifiMonitor( 147): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=0]
V/WifiStateTracker( 147): Changing supplicant state: COMPLETED ==> DISCONNECTED
V/WifiStateTracker( 147): New network state is DISCONNECTED
V/WifiStateTracker( 147): Changing supplicant state: DISCONNECTED ==> DISCONNECTED
D/WifiStateTracker( 147): Deconfiguring interface and stopping DHCP
V/WifiMonitor( 147): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 147): Changing supplicant state: DISCONNECTED ==> SCANNING
I/ActivityManager( 147): Starting activity: Intent { act=android.intent.action.MAIN cat=[com.android.settings.SHORTCUT] flg=0x10200000 cmp=com.android.settings/.wifi.WifiSettings }
D/SettingsWifiEnabler( 4007): Received wifi state changed from Enabling to Enabled
D/SettingsWifiEnabler( 4007): Received network state changed to NetworkInfo: type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true
I/ActivityManager( 147): Displayed activity com.android.settings/.wifi.WifiSettings: 4075 ms (total 5063431 ms)
E/SettingsWifiLayer( 4007): Unable to scan for networks