Index: sources/wifi/WifiInterface.h =================================================================== diff -u -r3e7cdf9b112dc6e865323e8381cecfd5d988a927 -r5b46bc8e4724e4ddb648f901d76bb7ec24f8b6c7 --- sources/wifi/WifiInterface.h (.../WifiInterface.h) (revision 3e7cdf9b112dc6e865323e8381cecfd5d988a927) +++ 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/wpa_supplicant-wlan0.conf"; + const QString _wpaSupplicantConfPath = QString("/etc/wpa_supplicant/wpa_supplicant-%1.conf").arg(_iface); // Singleton SINGLETON(WifiInterface)