]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - include/net/lib80211.h
wireless: escape_ssid should handle non-printables
[mirror_ubuntu-zesty-kernel.git] / include / net / lib80211.h
CommitLineData
7e272fcf
JL
1/*
2 * lib80211.h -- common bits for IEEE802.11 wireless drivers
3 *
4 * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
5 *
6 */
7
8#ifndef LIB80211_H
9#define LIB80211_H
10
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. */
13const char *escape_ssid(const char *ssid, u8 ssid_len);
14
7e272fcf 15#endif /* LIB80211_H */