[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/wifi
From: Stefan Winter <mail () stefan-winter ! de>
Date: 2005-01-23 11:37:21
Message-ID: 20050123113721.38F8D1BADC () office ! kde ! org
[Download RAW message or body]
CVS commit by winter:
implementing notification of hidden networks
FEATURE:
we shouldn't throw away valuable data. Getting an empty ESSID means that
a network is present that does not broadcast its ESSID. The user should
get informed about this.
M +11 -2 interface_wireless_wirelessextensions.cpp 1.19
--- kdenetwork/wifi/interface_wireless_wirelessextensions.cpp #1.18:1.19
@@ -638,8 +638,17 @@ QStringList Interface_wireless_wirelesse
{
/* Extract an event and print it */
+
ret = WIFI_EXTRACT_EVENT_STREAM(&stream, &iwe);
- if (ret > 0) {
+
+ /* Currently, we only return the ESSIDs. We could
+ collect further data, but that's something for
+ maybe KDE 4.0 */
+
+ if (ret > 0 && iwe.cmd == SIOCGIWESSID) {
QString tempnet = print_scanning_token (&iwe);
- if (!tempnet.isEmpty()) networks += tempnet;
+ if (!tempnet.isEmpty())
+ { networks += tempnet; }
+ else
+ { networks += (QString)i18n("(hidden network)"); }
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic