Public bug reported: >From src/systeminfo/linux/qnetworkinfo_linux.cpp: === QNetworkInfo::NetworkStatus QNetworkInfoPrivate::getNetworkStatus(QNetworkInfo::NetworkMode mode, int interface) { switch (mode) { case QNetworkInfo::WlanMode: { if (interface < networkInterfaceCount(QNetworkInfo::WlanMode)) { QString fileName = (*WLAN_MASK()).at(0); fileName.chop(1); fileName.append(QString::number(interface)); QFile carrier(*NETWORK_SYSFS_PATH() + fileName + QStringLiteral("/carrier")); if (carrier.open(QIODevice::ReadOnly)) { char state; if ((carrier.read(&state, 1) == 1) && (state == '1') && (networkSignalStrength(QNetworkInfo::WlanMode, interface) > -1)) { return QNetworkInfo::HomeNetwork; } } } return QNetworkInfo::NoNetworkAvailable; } ===
The issue is that networkSignalStrength reports -1 with mako, as /proc/net/wireless fails to report the right signal strength for it. ** Affects: linux-mako (Ubuntu) Importance: Undecided Status: New ** Affects: qtsystems-opensource-src (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231196 Title: QtSystemInfo fails to report a valid wlan0 connection with mako (nexus 4) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-mako/+bug/1231196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs