diff options
author | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2016-01-18 12:41:54 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2016-01-25 09:13:47 +0000 |
commit | c82dd728746f3df9ededdd3beb651dd97449c6d2 (patch) | |
tree | f4535c9793dc0e828f9b6f9c5798ac8616e34954 /src/wifi/qwifinetworklistmodel.cpp | |
parent | ccbfa0884072c26979a6475de71635c19a474cca (diff) |
Fix SSID decoding
Allocate sufficient buffer size.
Change-Id: Id2c885d132814553a93b9baa026fa044d667527b
Task-number: QTEE-1038
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'src/wifi/qwifinetworklistmodel.cpp')
-rw-r--r-- | src/wifi/qwifinetworklistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi/qwifinetworklistmodel.cpp b/src/wifi/qwifinetworklistmodel.cpp index a1f825f..fa3f7dc 100644 --- a/src/wifi/qwifinetworklistmodel.cpp +++ b/src/wifi/qwifinetworklistmodel.cpp @@ -124,7 +124,7 @@ void QWifiNetworkListModel::parseScanResults(const QString &results) continue; int pos = 0; - QString ssid = QWifiSupplicant::decodeHexEncoded(info.at(4)); + QString ssid = QWifiSupplicant::decodeSsid(info.at(4)); if (ssid.isEmpty()) continue; |