diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-09-30 17:17:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:48 -0400 |
commit | c5d3dce875ef055ed9b14f169cc967cc2c8faf1f (patch) | |
tree | 778402be72b858ec6318c480cd19261079cd1f77 /net/wireless | |
parent | 7e272fcff6f0a32a3d46e600ea5895f6058f4e2d (diff) |
wireless: remove NETWORK_EMPTY_ESSID flag
It is unnecessary and of questionable value. Also remove
is_empty_ssid, as it is also unnecessary.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/lib80211.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/wireless/lib80211.c b/net/wireless/lib80211.c index b22d271fb675..872cc8dc00a3 100644 --- a/net/wireless/lib80211.c +++ b/net/wireless/lib80211.c | |||
@@ -24,11 +24,6 @@ const char *escape_ssid(const char *ssid, u8 ssid_len) | |||
24 | const char *s = ssid; | 24 | const char *s = ssid; |
25 | char *d = escaped; | 25 | char *d = escaped; |
26 | 26 | ||
27 | if (is_empty_ssid(ssid, ssid_len)) { | ||
28 | memcpy(escaped, "<hidden>", sizeof("<hidden>")); | ||
29 | return escaped; | ||
30 | } | ||
31 | |||
32 | ssid_len = min_t(u8, ssid_len, IEEE80211_MAX_SSID_LEN); | 27 | ssid_len = min_t(u8, ssid_len, IEEE80211_MAX_SSID_LEN); |
33 | while (ssid_len--) { | 28 | while (ssid_len--) { |
34 | if (*s == '\0') { | 29 | if (*s == '\0') { |