···1212 * published by the Free Software Foundation.1313 */14141515-#ifndef IEEE80211_H1616-#define IEEE80211_H1515+#ifndef LINUX_IEEE80211_H1616+#define LINUX_IEEE80211_H17171818#include <linux/types.h>1919#include <asm/byteorder.h>···11141114 return hdr->addr1;11151115}1116111611171117-#endif /* IEEE80211_H */11171117+#endif /* LINUX_IEEE80211_H */
+3-2
include/net/lib80211.h
···88#ifndef LIB80211_H99#define LIB80211_H10101111-/* escape_ssid() is intended to be used in debug (and possibly error)1111+/* print_ssid() is intended to be used in debug (and possibly error)1212 * messages. It should never be used for passing ssid to user space. */1313-const char *escape_ssid(const char *ssid, u8 ssid_len);1313+const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);1414+#define DECLARE_SSID_BUF(var) char var[32 * 4 + 1] __maybe_unused14151516#endif /* LIB80211_H */