2 * lib80211.h -- common bits for IEEE802.11 wireless drivers
4 * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
11 /* escape_ssid() is intended to be used in debug (and possibly error)
12 * messages. It should never be used for passing ssid to user space. */
13 const char *escape_ssid(const char *ssid, u8 ssid_len);
15 static inline int is_empty_ssid(const char *ssid, int ssid_len)
17 /* Single white space is for Linksys APs */
18 if (ssid_len == 1 && ssid[0] == ' ')
21 /* Otherwise, if the entire ssid is 0, we assume it is hidden */
24 if (ssid[ssid_len] != '\0')
31 #endif /* LIB80211_H */