[Galaxy S I9000 Android Development] hsz#:
Today I had an issue with WiFi. When I tried to turn it on (from notification bar), icon blinks. Also in preferences, on-off switch changes its state whole time. In logs I have:

D/SoftapController( 2325): Softap fwReload - Ok
D/NetworkManagementService( 2352): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>
D/CommandListener( 2325): Setting iface cfg
D/CommandListener( 2325): Trying to bring down wlan0
D/CommandListener( 2325): broadcast flag ignored
D/CommandListener( 2325): multicast flag ignored
D/NetworkManagementService( 2352): flags <[down broadcast multicast]>
I/ActivityThread( 6173): Pub com.google.android.calendar.CalendarRecentSuggestionsProvider: com.android.calendar.CalendarRecentSuggestionsProvider
D/dalvikvm( 2429): GC_CONCURRENT freed 765K, 38% free 11961K/19207K, paused 2ms+10ms
D/dalvikvm( 6109): GC_FOR_ALLOC freed 377K, 6% free 21425K/22727K, paused 137ms
I/wpa_supplicant( 6188): rfkill: Cannot open RFKILL control device
D/Variables( 6109): registerNumberVariable: null.time index:0
D/Variables( 6109): registerNumberVariable: null.ampm index:1
D/Variables( 6109): registerNumberVariable: null.hour12 index:2
D/Variables( 6109): registerNumberVariable: null.hour24 index:3
D/Variables( 6109): registerNumberVariable: null.minute index:4
D/Variables( 6109): registerNumberVariable: null.second index:5
D/Variables( 6109): registerNumberVariable: null.msec index:6
D/Variables( 6109): registerNumberVariable: null.year index:7
D/Variables( 6109): registerNumberVariable: null.month index:8
D/Variables( 6109): registerNumberVariable: null.date index:9
D/Variables( 6109): registerNumberVariable: null.day_of_week index:10
E/wpa_supplicant( 6188): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 6188): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 6188): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 6188): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/WifiStateMachine( 2352): Failed to set country code pl
E/wpa_supplicant( 6188): wpa_driver_nl80211_driver_cmd: failed to issue private commands
I/wpa_supplicant( 6188): wlan0: CTRL-EVENT-DRIVER-STATE HANGED
E/WifiStateMachine( 2352): Failed to set frequency band 0
D/CommandListener( 2325): Clearing all IP addresses on wlan0
I/wpa_supplicant( 6188): wlan0: CTRL-EVENT-TERMINATING
I/UNA ( 5009): [WiFiStateReceiver.java/Lines:263] SUPPLICANT_CONNECTION_CHANGE : DISCONNECTED
D/UNA ( 5009): [WiFiStateReceiver.java/Lines:285] Shutdown and Stop Service
V/UNA ( 5009): [WiFiStateReceiver.java/Lines:115] WiFi State Changed
D/UNA ( 5009): [WiFiStateReceiver.java/Lines:125] [Network State] : DISCONNECTED
D/UNA ( 5009): [WiFiStateReceiver.java/Lines:217] WiFi not connected
D/UNA ( 5009): [WiFiStateReceiver.java/Lines:221] Shutdown and Stop Service
D/Launcher.Model( 6109): bind workspace in 1826ms
D/Launcher.Model( 6109): done with previous binding step
I/UNA ( 5009): [WiFiStateReceiver.java/Lines:263] SUPPLICANT_CONNECTION_CHANGE : DISCONNECTED
D/UNA ( 5009): [WiFiStateReceiver.java/Lines:285] Shutdown and Stop Service
D/Launcher.Model( 6109): waited 1805ms for previous step to finish binding
D/Launcher.Model( 6109): step 2: loading missing icons

This logcat is looped.

After reboot, WiFi works.