CyanogenDefy / android_device_motorola_jordan

Motorola Defy MB525 CM7 XDA (jordan)
http://forum.xda-developers.com/showthread.php?t=1065798
80 stars 60 forks source link

Wifi crashes due WPA supplicant config file (supossed) #116

Open pvianag opened 12 years ago

pvianag commented 12 years ago

WIFI status keep "Stablishing connection..." until you delete /data/misc/wifi/wpa_supplicant.conf Obviusly when you delete this file networks you saved are deleted.

This happens with all this versions (maybe more):

cm7-110806-2055-NIGHTLY-Jordan.zip 2011-Aug-06 22:26:12
cm7-110809-0713-NIGHTLY-Jordan.zip 2011-Aug-09 07:35:04 cm7-110813-2132-NIGHTLY-Jordan.zip 2011-Aug-14 21:56:27 cm7-110817-1717-BOOT179-Jordan.zip 2011-Aug-18 17:47:33
cm7-110822-1650-BOOT179-4-Jordan.zip 2011-Aug-23 17:28:20
cm7-110825-0058-NIGHTLY-Jordan.zip 2011-Aug-26 03:31:15
cm7-110901-1516-NIGHTLY-Jordan.zip 2011-Sep-02 16:29:07 cm7-110911-1924-BOOTWIFI3-Jordan.zip 2011-Sep-11 20:02:43 cm7.1.0-RC1.5-jordan-signed.zip 2011-Sep-03 22:18:32

charlie2alpha commented 12 years ago

This is file needs to be removed each time the WiFi driver is changing/updated, the last change happened in the BOOTWIFI3 nightly.

pvianag commented 12 years ago

It happened without any change of ROM. Now I have the RC. I deleted 2 times this file since I installed it.

pvianag commented 12 years ago

The same with cm7-110926-0834-NIGHTLY-Jordan.zip With this ROM (and also happen with older) more than 2 times I should delete the wpa supplicant config file to restore wifi functionality (always without updating of the ROM)

bluesceada commented 12 years ago

I had the same Issue, after running the Motorola Defy with the "stable" 7.1.0-jordan for a while, wifi just stopped working. It seems only removing the line: ap_scan=2 from wpa_supplicant.conf already helps (but upon trying multiple things, so I couldnt really isolate it to this one line so far..)

This option seems to be not well documented in wpa_supplicant, but somehow sets the scanning mode of it. Just by guessing: Maybe the Defy Hardware is not compatible with all scanning modes(?). But why this is set(is it?) only after Cyanogenmod ran for a while is dubious. I will investigate further when&if the issue arises again. In the meantime I will sometimes take a look in my wpa_supplicant.conf if this ap_scan setting is added again.

bluesceada commented 12 years ago

Strange, already today it happened again .. but the wpa_supplicant.conf contents didn't change at all (according to "diff"). Still, removing it and having it re-created by the phone helped somehow.... Anyone else did some real debugging on this?