summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-03-25 09:04:29 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-03-25 09:04:29 (GMT)
commit60eac381b621a92ab057ee6e5e55bcd50f5dc629 (patch)
tree6753955a5e65a711bc59914284bda815fbfc31f7 /src
parent8cc346604ed1e1504964772613ed9fe531361f69 (diff)
downloadQt-60eac381b621a92ab057ee6e5e55bcd50f5dc629.zip
Qt-60eac381b621a92ab057ee6e5e55bcd50f5dc629.tar.gz
Qt-60eac381b621a92ab057ee6e5e55bcd50f5dc629.tar.bz2
don't just return the first key here.
this fixes associating..
Diffstat (limited to 'src')
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm3
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();
}