diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/bearer/corewlan/qcorewlanengine.mm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm index 0e9e4bd..a366d00 100644 --- a/src/plugins/bearer/corewlan/qcorewlanengine.mm +++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm @@ -200,7 +200,6 @@ void QCoreWlanEngine::connectToId(const QString &id) const QString idHash2 = QString::number(qHash(QLatin1String("corewlan:") + getNetworkNameFromSsid(ptr->name))); bool using8021X = false; - if (idHash2 != id) { NSArray *array = [CW8021XProfile allUser8021XProfiles]; @@ -695,9 +694,7 @@ QString QCoreWlanEngine::getNetworkNameFromSsid(const QString &ssid) if(ij.key() == ssid) { return i.key(); } - } - return map.key(ssid); } return QString(); } |