Connect your phone to the computer and open adb shell
Kill any process named wpa_supplicant and type:
wpa_supplicant -dd -i wlan0 -f /sdcard/wifi.log -c /etc/wifi/wpa_supplicant.conf
Then attach the generated logfile after having tried connecting to a wifi network.
Alternatively you can run "wpa_cli" and show it's output.
Sent from my GT-I9300 using xda premium
Samsung S1 ↠ Samsung S3 ↠ Oneplus One