diff options
author | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-02-02 12:29:02 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-02-06 11:57:28 +0200 |
commit | 1642e42a37090de01f8a9956a139cba95ae44fe7 (patch) | |
tree | 47a212304d28b74bf2ec072f082d98e4cc965b6a /src/wifi/qwificontroller_p.h | |
parent | 8e88abe415aac6efa531ad77d8a82be5de14e6d7 (diff) |
Fix failure handling when backend processes fail
Make sure that m_backendState is updated accordingly
if backend initialization and/or termination fails.
Change-Id: I28b6dbb3ecbefb14edbc9ffe5d4497b8ddc37946
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/wifi/qwificontroller_p.h')
-rw-r--r-- | src/wifi/qwificontroller_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi/qwificontroller_p.h b/src/wifi/qwificontroller_p.h index 230b7c8..d79e1c2 100644 --- a/src/wifi/qwificontroller_p.h +++ b/src/wifi/qwificontroller_p.h @@ -83,7 +83,7 @@ public: void startWifiEventThread(); void acquireIPAddress(); void stopDhcp() const; - void resetSupplicantSocket() const; + bool resetSupplicantSocket() const; signals: void backendStateChanged(QWifiManager::BackendState backendState); |