<hidden> this is something that ieee80211 does that's completely wrong.
Drivers need to report the _exact_ ESSID from the air in their scan
results.  It's up to the user space app to deal with ESSID length of 0.

Signed-off-by: Dan Williams <[EMAIL PROTECTED]>

--- net/ieee80211/ieee80211_wx.c        2006-03-24 10:43:04.000000000 -0500
+++ net/ieee80211/ieee80211_wx.c        2006-03-24 10:53:27.000000000 -0500
@@ -64,8 +64,8 @@
        iwe.cmd = SIOCGIWESSID;
        iwe.u.data.flags = 1;
        if (network->flags & NETWORK_EMPTY_ESSID) {
-               iwe.u.data.length = sizeof("<hidden>");
-               start = iwe_stream_add_point(start, stop, &iwe, "<hidden>");
+               iwe.u.data.length = 0;
+               start = iwe_stream_add_point(start, stop, &iwe, "");
        } else {
                iwe.u.data.length = min(network->ssid_len, (u8) 32);
                start = iwe_stream_add_point(start, stop, &iwe, network->ssid);


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to