Index: sources/wifi/WifiInterface.h =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r5b46bc8e4724e4ddb648f901d76bb7ec24f8b6c7 --- sources/wifi/WifiInterface.h (.../WifiInterface.h) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/wifi/WifiInterface.h (.../WifiInterface.h) (revision 5b46bc8e4724e4ddb648f901d76bb7ec24f8b6c7) @@ -54,6 +54,8 @@ int _scanTimeout = 30000; int _processCounter = 0; int _dhcpAttemptsLeft = 5; + const quint8 _dhcpAttempts = 5; + QProcess _processScan; QProcess _processDisconnectNetwork; QProcess _processReadIPSettings; @@ -70,7 +72,7 @@ const QString _scriptsFolder = Storage::Scripts_Path_Name; const QString _iface = "wlan0"; - const QString _wpaSupplicantConfPath = "/etc/wpa_supplicant.conf"; + const QString _wpaSupplicantConfPath = QString("/etc/wpa_supplicant/wpa_supplicant-%1.conf").arg(_iface); // Singleton SINGLETON(WifiInterface)