Maybe this link will help :-) http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html
"Do not add these if you use Android private socket because it will make wpa_supplicant non-functional, because hardware/libhardware_legacy/wifi/wifi.c check for existence of the* /data/system/wpa_supplicant *folder and will pass a wrong interface name to wpa_ctrl_open() function." -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting