summaryrefslogtreecommitdiffstats
path: root/include/net/lib80211.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-09-30 23:17:26 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-11-01 00:00:48 +0100
commitc5d3dce875ef055ed9b14f169cc967cc2c8faf1f (patch)
tree778402be72b858ec6318c480cd19261079cd1f77 /include/net/lib80211.h
parentwireless: consolidate on a single escape_essid implementation (diff)
downloadlinux-c5d3dce875ef055ed9b14f169cc967cc2c8faf1f.tar.xz
linux-c5d3dce875ef055ed9b14f169cc967cc2c8faf1f.zip
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 'include/net/lib80211.h')
-rw-r--r--include/net/lib80211.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/net/lib80211.h b/include/net/lib80211.h
index 91a64f358cef..ce49a30033b6 100644
--- a/include/net/lib80211.h
+++ b/include/net/lib80211.h
@@ -12,20 +12,4 @@
* messages. It should never be used for passing ssid to user space. */
const char *escape_ssid(const char *ssid, u8 ssid_len);
-static inline int is_empty_ssid(const char *ssid, int ssid_len)
-{
- /* Single white space is for Linksys APs */
- if (ssid_len == 1 && ssid[0] == ' ')
- return 1;
-
- /* Otherwise, if the entire ssid is 0, we assume it is hidden */
- while (ssid_len) {
- ssid_len--;
- if (ssid[ssid_len] != '\0')
- return 0;
- }
-
- return 1;
-}
-
#endif /* LIB80211_H */