[Galaxy S I9000 Android Development] DerTeufel1980:
well, i have tried this now:

https://github.com/jt1134/android_d...mmit/80f17d62e1c977c396e3a386f7b9f39a0a35c519

but it didn't work.

here are some logcats and kmsg:

this is from trying to connect wifi:

E/WifiConfigStore( 639): Failed to start WPS push button configuration
E/WifiStateMachine( 639): Failed to start WPS with config setup: 0
E/WifiStateMachine( 639): BSSID: null
E/WifiStateMachine( 639): pin: null

this is logcat from a hotreboot, after i tried to sitch wlan off:

D/WifiService( 1985): setWifiEnabled: true pid=2650, uid=1000
I/ActivityManager( 1985): Displayed com.android.settings/.Settings: +518ms
D/WifiService( 1985): setWifiEnabled: false pid=2650, uid=1000
D/CommandListener( 1856): Clearing all IP addresses on wlan0
D/WifiHW ( 1985): Received on exit socket, terminate
D/WifiHW ( 1985): wifi_ctrl_recv failed: No such file or directory
F/libc ( 1985): Fatal signal 11 (SIGSEGV) at 0x511d9000 (code=1), thread 2684 (WifiMonitor)
F/libc ( 1985): @@@ ABORTING: HEAP MEMORY CORRUPTION IN dlmalloc addr=0x5117b5a0
F/libc ( 1985): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2000 (ActivityManager)
I/DEBUG ( 210): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 210): Build fingerprint: 'samsung/GT-I9000/GT-I9000:2.3.5/GINGERBREAD/XXJVT:user/release-keys'
I/DEBUG ( 210): pid: 1985, tid: 2684, name: WifiMonitor >>> system_server <<<
I/DEBUG ( 210): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 511d9000
I/DEBUG ( 210): r0 511d5b40 r1 4004d872 r2 57690fab r3 511d9000
I/DEBUG ( 210): r4 00000000 r5 511d5b65 r6 5769446b r7 5117b5a8
I/DEBUG ( 210): r8 57694c80 r9 50f83f80 sl 50d832d8 fp 57694c94
I/DEBUG ( 210): ip 4004e1b0 sp 57694434 lr 4004c329 pc 400e0c0e cpsr 20000030
I/DEBUG ( 210): d0 3f8000003f800000 d1 3ddb7cdf40000000
I/DEBUG ( 210): d2 bfd3441350baf6de d3 3f00000000000000
I/DEBUG ( 210): d4 0000000100000000 d5 3ff0000000000000
I/DEBUG ( 210): d6 00f5370000000000 d7 416ea6e010000000
I/DEBUG ( 210): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 210): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 210): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 210): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 210): scr 60000010
I/DEBUG ( 210):
I/DEBUG ( 210): backtrace:
I/DEBUG ( 210): #00 pc 00022c0e /system/lib/libc.so (strncpy+21)
I/DEBUG ( 210): #01 pc 00002325 /system/lib/libhardware_legacy.so (wifi_wait_for_event+88)
I/DEBUG ( 210): #02 pc 0005dbdf /system/lib/libandroid_runtime.so
I/DEBUG ( 210): #03 pc 0001de30 /system/lib/libdvm.so (dvmPlatformInvoke+112)
I/DEBUG ( 210): #04 pc 0004ce67 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+390)
I/DEBUG ( 210): #05 pc 00027260 /system/lib/libdvm.so
I/DEBUG ( 210): #06 pc 0002bb2c /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 210): #07 pc 0005f591 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 210): #08 pc 0005f5bb /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 210): #09 pc 00054173 /system/lib/libdvm.so
I/DEBUG ( 210): #10 pc 00012db0 /system/lib/libc.so (__thread_entry+48)
I/DEBUG ( 210): #11 pc 00012514 /system/lib/libc.so (pthread_create+172)
I/DEBUG ( 210):
I/DEBUG ( 210): stack:
I/DEBUG ( 210): 576943f4 00000000
I/DEBUG ( 210): 576943f8 00000000
I/DEBUG ( 210): 576943fc 155f7fc3
I/DEBUG ( 210): 57694400 ffffffff
I/DEBUG ( 210): 57694404 5117b5a8
I/DEBUG ( 210): 57694408 57694444
I/DEBUG ( 210): 5769440c 401086ac
I/DEBUG ( 210): 57694410 00000100
I/DEBUG ( 210): 57694414 400e0ac9 /system/lib/libc.so (strerror_r+48)
I/DEBUG ( 210): 57694418 155f7fc3
I/DEBUG ( 210): 5769441c 401086ac
I/DEBUG ( 210): 57694420 a8869fac
I/DEBUG ( 210): 57694424 155f7fc3
I/DEBUG ( 210): 57694428 df0027ad
I/DEBUG ( 210): 5769442c 00000000
I/DEBUG ( 210): 57694430 5769446b
I/DEBUG ( 210): #00 57694434 511d5b40
I/DEBUG ( 210): 57694438 a8869fac
I/DEBUG ( 210): 5769443c 4004c329 /system/lib/libhardware_legacy.so (wifi_wait_for_event+92)
I/DEBUG ( 210): #01 57694440 511d5b40
I/DEBUG ( 210): 57694444 5769446b
I/DEBUG ( 210): 57694448 00000800
I/DEBUG ( 210): 5769444c 4010ea4c
I/DEBUG ( 210): 57694450 4fc03b18
I/DEBUG ( 210): 57694454 00000004
I/DEBUG ( 210): 57694458 50f83f88
I/DEBUG ( 210): 5769445c 401f7be3 /system/lib/libandroid_runtime.so
I/DEBUG ( 210): #02 57694460 4fc03b18
I/DEBUG ( 210): 57694464 1d300005
I/DEBUG ( 210): 57694468 511d5b40
I/DEBUG ( 210): 5769446c 00000000
I/DEBUG ( 210): 57694470 00000000
I/DEBUG ( 210): 57694474 00000000
I/DEBUG ( 210): 57694478 00000000
I/DEBUG ( 210): 5769447c 00000000
I/DEBUG ( 210): 57694480 00000000
I/DEBUG ( 210): 57694484 00000000
I/DEBUG ( 210): 57694488 00000000
I/DEBUG ( 210): 5769448c 00000000
I/DEBUG ( 210): 57694490 00000000
I/DEBUG ( 210): 57694494 00000000
I/DEBUG ( 210): 57694498 00000000
I/DEBUG ( 210): 5769449c 00000000
I/DEBUG ( 210): ........ ........
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r0:
I/DEBUG ( 210): 511d5b20 64656c69 74697720 34272068 31203030 iled with '400 1
I/DEBUG ( 210): 511d5b30 61462035 64656c69 206f7420 00000013 5 Failed to ....
I/DEBUG ( 210): 511d5b40 4c525443 4556452d 542d544e 494d5245 CTRL-EVENT-TERMI
I/DEBUG ( 210): 511d5b50 4954414e 2020474e 6572202d 65207663 NATING - recv e
I/DEBUG ( 210): 511d5b60 726f7272 00000000 00000000 00000000 rror............
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r1:
I/DEBUG ( 210): 4004d850 56452d4c 2d544e45 4d524554 54414e49 L-EVENT-TERMINAT
I/DEBUG ( 210): 4004d860 20474e49 72202d20 20766365 6f727265 ING - recv erro
I/DEBUG ( 210): 4004d870 65520072 76696563 45206465 6f20464f r.Received EOF o
I/DEBUG ( 210): 4004d880 7573206e 696c7070 746e6163 636f7320 n supplicant soc
I/DEBUG ( 210): 4004d890 0a74656b 52544300 56452d4c 2d544e45 ket..CTRL-EVENT-
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r2:
I/DEBUG ( 210): 57690f88 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 57690f98 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 57690fa8 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 57690fb8 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 57690fc8 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r3:
I/DEBUG ( 210): 511d8fe0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 511d8ff0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 511d9000 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 210): 511d9010 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 210): 511d9020 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r5:
I/DEBUG ( 210): 511d5b44 4556452d 542d544e 494d5245 4954414e -EVENT-TERMINATI
I/DEBUG ( 210): 511d5b54 2020474e 6572202d 65207663 726f7272 NG - recv error
I/DEBUG ( 210): 511d5b64 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 511d5b74 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 511d5b84 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r6:
I/DEBUG ( 210): 57694448 00000800 4010ea4c 4fc03b18 00000004 ....L..@.;.O....
I/DEBUG ( 210): 57694458 50f83f88 401f7be3 4fc03b18 1d300005 .?.P.{.@.;.O..0.
I/DEBUG ( 210): 57694468 511d5b40 00000000 00000000 00000000 @[.Q............
I/DEBUG ( 210): 57694478 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210): 57694488 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r7:
I/DEBUG ( 210): 5117b588 00000000 0000001b 00000001 00000001 ................
I/DEBUG ( 210): 5117b598 5117b578 00000000 00000001 000000e9 x..Q............
I/DEBUG ( 210): 5117b5a8 511d5b48 401075ec 2f617461 6373696d H[.Q.u.@ata/misc
I/DEBUG ( 210): 5117b5b8 6669772f 6f732f69 74656b63 70772f73 /wifi/sockets/wp
I/DEBUG ( 210): 5117b5c8 74635f61 315f6c72 2d353839 00003031 a_ctrl_1985-10..
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r8:
I/DEBUG ( 210): 57694c60 50f83f34 400cdc88 41620f40 155f7fc3 4?.P...@@.bA.._.
I/DEBUG ( 210): 57694c70 50d832c8 4bbe56c0 50d832c8 40763e34 .2.P.V.K.2.P4>v@
I/DEBUG ( 210): 57694c80 50f83f7c 00000001 416244a0 4d70e421 |?.P.....DbA!.pM
I/DEBUG ( 210): 57694c90 00000000 40792e6b 50f83f7c 4d70e41f ....k.y@|?.P..pM
I/DEBUG ( 210): 57694ca0 401f7bb9 50d832d8 00000000 00000000 .{.@.2.P........
I/DEBUG ( 210):
I/DEBUG ( 210): memory near r9:
I/DEBUG ( 210): 50f83f60 4bc340f8 4d6338e0 50f83f98 4d65b660 .@.K.8cM.?.P`.eM
I/DEBUG ( 210): 50f83f70 4bbe56c0 00000000 00000000 1d500001 .V.K..........P.
I/DEBUG ( 210): 50f83f80 1d300005 50f83fb4 4d673f88 4bbe68b8 ..0..?.P.?gM.h.K
I/DEBUG ( 210): 50f83f90 4d65b660 00000000 41620f40 416244a0 `.eM....@.bA.DbA
I/DEBUG ( 210): 50f83fa0 50f84000 00000000 4bea4020 4d673f88 .@.P.... @.K.?gM
I/DEBUG ( 210):
I/DEBUG ( 210): memory near sl:
I/DEBUG ( 210): 50d832b8 1dc101d5 1dc101d8 00000000 00000453 ............S...
I/DEBUG ( 210): 50d832c8 4d673f4c 50f83f7c 4bbe68b8 4dc8e000 L?gM|?.P.h.K...M
I/DEBUG ( 210): 50d832d8 416244a0 00000000 57694da8 00000000 .DbA.....MiW....
I/DEBUG ( 210): 50d832e8 57694ddc 0000004d 00000000 40763fc0 .MiWM........?v@
I/DEBUG ( 210): 50d832f8 00000000 00000000 4022f470 50f80300 ........p."@...P
I/DEBUG ( 210):
I/DEBUG ( 210): memory near fp:
I/DEBUG ( 210): 57694c74 4bbe56c0 50d832c8 40763e34 50f83f7c .V.K.2.P4>v@|?.P
I/DEBUG ( 210): 57694c84 00000001 416244a0 4d70e421 00000000 .....DbA!.pM....
I/DEBUG ( 210): 57694c94 40792e6b 50f83f7c 4d70e41f 401f7bb9 k.y@|?.P..pM.{.@
I/DEBUG ( 210): 57694ca4 50d832d8 00000000 00000000 00000000 .2.P............
I/DEBUG ( 210): 57694cb4 4010ea4c 00000000 00000000 00000000 L..@............
I/DEBUG ( 210):
I/DEBUG ( 210): memory near ip:
I/DEBUG ( 210): 4004e190 400da609 401564d5 400cc730 4003e269 ...@.d.@0..@i..@
I/DEBUG ( 210): 4004e1a0 400d8951 4003e50b 4003e495 400e0a81 Q..@...@...@...@
I/DEBUG ( 210): 4004e1b0 400e0bf9 400e07dd 400d5204 4003e345 ...@...@.R.@E..@
I/DEBUG ( 210): 4004e1c0 400f7c81 400cb0d4 400e0b9d 4003e125 .|.@...@...@%..@
I/DEBUG ( 210): 4004e1d0 4003e489 400cb570 401564d1 400cb778 ...@p..@.d.@x..@
I/DEBUG ( 210):
I/DEBUG ( 210): memory near sp:
I/DEBUG ( 210): 57694414 400e0ac9 155f7fc3 401086ac a8869fac ...@.._....@....
I/DEBUG ( 210): 57694424 155f7fc3 df0027ad 00000000 5769446b .._..'......kDiW
I/DEBUG ( 210): 57694434 511d5b40 a8869fac 4004c329 511d5b40 @[.Q....)..@@[.Q
I/DEBUG ( 210): 57694444 5769446b 00000800 4010ea4c 4fc03b18 kDiW....L..@.;.O
I/DEBUG ( 210): 57694454 00000004 50f83f88 401f7be3 4fc03b18 .....?.P.{.@.;.O
I/DEBUG ( 210):
I/DEBUG ( 210): code around pc:
I/DEBUG ( 210): 400e0bec 461c3a01 2300d1f6 bd307023 b17ab530 .:.F...##p0.0.z.
I/DEBUG ( 210): 400e0bfc f8114605 462b4b01 4b01f803 b92c461d .F...K+F...K.F,.
I/DEBUG ( 210): 400e0c0c f803e001 3a014b01 bd30d1fb d1f03a01 .....K.:..0..:..
I/DEBUG ( 210): 400e0c1c b570bd30 4606460c ea56f7f4 bf3442a0 0.p..F.F..V..B4.
I/DEBUG ( 210): 400e0c2c 46254605 f7f41c68 4604f973 4631b128 .F%Fh...s..F(.1F
I/DEBUG ( 210):
I/DEBUG ( 210): code around lr:
I/DEBUG ( 210): 4004c308 eb28f7ff 4a254924 447a4479 20034603 ..(.$I%JyDzD.F.
I/DEBUG ( 210): 4004c318 ea96f7ff 46204922 44794632 eb20f7ff ...."I F2FyD.. .
I/DEBUG ( 210): 4004c328 f8052300 46203c01 eaa8f7ff 9f01e02a .#...< F....*...
I/DEBUG ( 210): 4004c338 0000f04f d11155e0 491ab987 4a1a2003 O....U.....I. .J
I/DEBUG ( 210): 4004c348 447a4479 ea7cf7ff 44794918 46201965 yDzD..|..IyDe. F
I/DEBUG ( 210):
I/DEBUG ( 210): memory map around fault addr 511d9000:
I/DEBUG ( 210): 511d8000-511d9000
I/DEBUG ( 210): (no map for address)
I/DEBUG ( 210): 51216000-51218000
I/DEBUG ( 210): tid 2000 does not exist in pid 1985. ignoring debug request
I/ServiceManager( 205): service 'bluetooth' died
I/ServiceManager( 205): service 'audio' died
I/ServiceManager( 205): service 'wallpaper' died
I/ServiceManager( 205): service 'account' died
I/ServiceManager( 205): service 'alarm' died
I/ServiceManager( 205): service 'mount' died
I/ServiceManager( 205): service 'wifi' died
I/ServiceManager( 205): service 'connectivity' died
I/ServiceManager( 205): service 'uimode' died
I/ServiceManager( 205): service 'usb' died
I/ServiceManager( 205): service 'serial' died
I/ServiceManager( 205): service 'dropbox' died
I/ServiceManager( 205): service 'search' died
I/ServiceManager( 205): service 'servicediscovery' died
I/ServiceManager( 205): service 'throttle' died
I/ServiceManager( 205): service 'updatelock' died
I/ServiceManager( 205): service 'notification' died
I/ServiceManager( 205): service 'devicestoragemonitor' died
I/ServiceManager( 205): service 'location' died
I/ServiceManager( 205): service 'country_detector' died
I/ServiceManager( 205): service 'accessibility' died
I/ServiceManager( 205): service 'clipboard' died
I/ServiceManager( 205): service 'lock_settings' died
I/ServiceManager( 205): service 'input_method' died
I/ServiceManager( 205): service 'wifip2p' died
I/ServiceManager( 205): service 'diskstats' died
I/ServiceManager( 205): service 'samplingprofiler' died
I/ServiceManager( 205): service 'commontime_management' died
I/ServiceManager( 205): service 'netpolicy' died
I/ServiceManager( 205): service 'network_management' died
I/ServiceManager( 205): service 'textservices' died
I/ServiceManager( 205): service 'netstats' died
I/ServiceManager( 205): service 'content' died
I/ServiceManager( 205): service 'gfxinfo' died
I/ServiceManager( 205): service 'hardware' died
I/ServiceManager( 205): service 'battery' died
I/ServiceManager( 205): service 'device_policy' died
I/ServiceManager( 205): service 'statusbar' died
I/ServiceManager( 205): service 'backup' died
I/ServiceManager( 205): service 'appwidget' died
I/ServiceManager( 205): service 'vibrator' died
I/ServiceManager( 205): service 'cpuinfo' died
I/ServiceManager( 205): service 'input' died
I/ServiceManager( 205): service 'permission' died
I/ServiceManager( 205): service 'package' died
I/ServiceManager( 205): service 'activity' died
I/ServiceManager( 205): service 'meminfo' died
I/ServiceManager( 205): service 'window' died
I/ServiceManager( 205): service 'bluetooth_a2dp' died
I/ServiceManager( 205): service 'scheduling_policy' died
I/ServiceManager( 205): service 'usagestats' died
I/ServiceManager( 205): service 'sensorservice' died
I/ServiceManager( 205): service 'entropy' died
I/ServiceManager( 205): service 'power' died
I/ServiceManager( 205): service 'dbinfo' died
I/ServiceManager( 205): service 'batteryinfo' died
I/ServiceManager( 205): service 'telephony.registry' died
W/Sensors ( 2138): sensorservice died [0x4f357920]
E/installd( 216): eof
E/installd( 216): failed to read size
I/installd( 216): closing connection
E/InputEventReceiver( 2046): channel '41823e10 RecentsPanel (client)' ~ Publisher closed input channel or an error occurred. events=0x9
E/InputEventReceiver( 2105): channel '417bc928 com.android.phasebeam.PhaseBeamWallpaper (client)' ~ Publisher closed input channel or an error occurred. events=0x9
E/InputEventReceiver( 2046): channel '417eb970 StatusBar (client)' ~ Publisher closed input channel or an error occurred. events=0x9
E/InputEventReceiver( 2153): channel '415e7398 com.android.launcher/com.android.launcher2.Launcher (client)' ~ Publisher closed input channel or an error occurred. events=0x9
D/Zygote ( 1857): Process 1985 terminated by signal (11)
I/Zygote ( 1857): Exit zygote because system server (1985) has terminated
I/Netd ( 2762): Netd 1.0 starting
I/ServiceManager( 205): service 'media.audio_flinger' died
I/ServiceManager( 205): service 'media.player' died
I/ServiceManager( 205): service 'media.camera' died
I/ServiceManager( 205): service 'media.audio_policy' died
D/libEGL ( 2760): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 2760): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 2760): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
E/Trace ( 2760): error opening trace file: No such file or directory (2)
D/AndroidRuntime( 2763):
D/AndroidRuntime( 2763): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 2763): CheckJNI is OFF
D/dalvikvm( 2763): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 2763): Added shared lib libjavacore.so 0x0
E/BandwidthController( 2762): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController( 2762): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
D/dalvikvm( 2763): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 2763): Added shared lib libnativehelper.so 0x0
I/mediaserver( 2761): ServiceManager: 0x40d2ece0
I/AudioFlinger( 2761): Using default 3000 mSec as standby time.
I/CameraService( 2761): CameraService started (pid=2761)
W/AudioFlinger( 2761): findSuitableHwDev_l() loading well know audio hw modules
V/AudioHardware( 2761): libsecril-client.so is loaded
E/AudioFlinger( 2761): int android::load_audio_interface(char const*, audio_hw_device_t**) wrong audio hw device version 0000
I/AudioFlinger( 2761): loadHwModule() error -22 loading module primary
E/AudioFlinger( 2761): int android::load_audio_interface(char const*, audio_hw_device_t**) wrong audio hw device version 0000
I/AudioFlinger( 2761): loadHwModule() error -22 loading module a2dp
E/AudioFlinger( 2761): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
I/AudioFlinger( 2761): loadHwModule() error -2 loading module usb
E/AudioPolicyManagerBase( 2761): Failed to initialize hardware output stream, samplingRate: 0, format 0, channels 0
E/AudioPolicyService( 2761): couldn't init_check the audio policy (No such device)
D/MDnsDS ( 2762): MDnsSdListener::Hander starting up
D/MDnsDS ( 2762): MDnsSdListener starting to monitor
D/MDnsDS ( 2762): Going to poll with pollCount 1

this last one is kmsg from turning wlan back on:

<4>[ 707.595427] wl_android_wifi_off in
<4>[ 707.608062] wlan0: set promisc 0 failed
<6>[ 707.608340] wake disabled for irq 164
<4>[ 707.608518] wifi_set_power = 0
<4>[ 707.608664] =========== WLAN placed in RESET ========
<5>[ 712.640616] init: service 'wpa_supplicant' is being killed
<6>[ 712.651310] init: waitpid returned pid 2640, status = 00000009
<5>[ 712.653087] init: process 'wpa_supplicant', pid 2640 exited
<5>[ 717.814849] init: starting 'wpa_supplicant'
<6>[ 717.816451] init: Created socket '/dev/socket/wpa_wlan0' with mode '660', user '1010', group '1010'
<4>[ 717.823659]
<4>[ 717.823669] Dongle Host Driver, version 5.90.125.94.1
<4>[ 717.823672] Compiled in drivers/net/wireless/bcmdhd on Jul 4 2012 at 12:08:59
<4>[ 717.824021] wl_android_wifi_on in
<4>[ 717.824110] wifi_set_power = 1
<4>[ 717.910940] =========== WLAN going back to live ========
<4>[ 717.912509] sdio_reset_comm():
<4>[ 717.924516] F1 signature read @0x18000000=0x9934329
<4>[ 717.938840] DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 717.979841] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<6>[ 718.056335] wake enabled for irq 164
<4>[ 718.057601] wifi_get_mac_addr
<4>[ 718.058172] Firmware up: op_mode=1, Broadcom Dongle Host Driver mac=b4:07:f9:cb:95:d5
<4>[ 718.196830] Firmware version = wl0: Dec 12 2011 16:44:46 version 4.220.55
<3>[ 718.203363] CFGP2P-ERROR) wl_cfgp2p_supported : wl p2p error -23
<4>[ 718.212209] wlan0: set promisc 0 failed
<4>[ 718.217926] wlan0: set promisc 0 failed
<6>[ 737.429051] request_suspend_state: sleep (0->3) at 737325726428 (2012-07-05 21:28:01.253605865 UTC)
<6>[ 737.462837] disable touch controls
<4>[ 737.464279] net_ratelimit: 1 callbacks suppressed
<4>[ 737.464961] dhd_set_suspend: force extra Suspend setting
<6>[ 737.975898] (hpd_status = 0)++

this last seems to be related to p2p, which brings me to this commit:

https://github.com/jt1134/android_k...mmit/8cad463be7627674c4aa95b36978244eabaf01a7

but i did not dig deeper into it.