summaryrefslogtreecommitdiffstats
path: root/include/net/lib80211.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-09-30 17:17:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:48 -0400
commitc5d3dce875ef055ed9b14f169cc967cc2c8faf1f (patch)
tree778402be72b858ec6318c480cd19261079cd1f77 /include/net/lib80211.h
parent7e272fcff6f0a32a3d46e600ea5895f6058f4e2d (diff)
downloadop-kernel-dev-c5d3dce875ef055ed9b14f169cc967cc2c8faf1f.zip
op-kernel-dev-c5d3dce875ef055ed9b14f169cc967cc2c8faf1f.tar.gz
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 91a64f3..ce49a30 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 */
OpenPOWER on IntegriCloud