summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-03-03 04:46:03 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-03-03 04:46:03 (GMT)
commitca88b39490ef09b56cab5f933c9e33e5a2f5a498 (patch)
treee6e2212d473cee6b4c0fb1f42cf75db79294c533 /src/plugins/bearer
parent31e1fb9103e6d6657c1153f5c30e149087568042 (diff)
downloadQt-ca88b39490ef09b56cab5f933c9e33e5a2f5a498.zip
Qt-ca88b39490ef09b56cab5f933c9e33e5a2f5a498.tar.gz
Qt-ca88b39490ef09b56cab5f933c9e33e5a2f5a498.tar.bz2
fix connecting to an ID.
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
index 598d2f0..a758a4b 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -170,7 +170,7 @@ void QCoreWlanEngine::connectToId(const QString &id)
while ((wProfile = [enumerator nextObject])) { //CWWirelessProfile
- if(id == nsstringToQString([wProfile ssid])) {
+ if(id == QString::number(qHash(QLatin1String("corewlan:") + nsstringToQString([wProfile ssid])))) {
user8021XProfile = nil;
user8021XProfile = [ wProfile user8021XProfile];