mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]>
This commit is contained in:
parent
7e272fcff6
commit
c5d3dce875
6 changed files with 6 additions and 66 deletions
|
|
@ -24,11 +24,6 @@ const char *escape_ssid(const char *ssid, u8 ssid_len)
|
|||
const char *s = ssid;
|
||||
char *d = escaped;
|
||||
|
||||
if (is_empty_ssid(ssid, ssid_len)) {
|
||||
memcpy(escaped, "<hidden>", sizeof("<hidden>"));
|
||||
return escaped;
|
||||
}
|
||||
|
||||
ssid_len = min_t(u8, ssid_len, IEEE80211_MAX_SSID_LEN);
|
||||
while (ssid_len--) {
|
||||
if (*s == '\0') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue