diff --git a/src/adapters/net_nl.cpp b/src/adapters/net_nl.cpp index 816812e4..0a72601a 100644 --- a/src/adapters/net_nl.cpp +++ b/src/adapters/net_nl.cpp @@ -182,9 +182,7 @@ namespace net { auto essid_begin = ies + hdr_len; auto essid_end = essid_begin + ies[1]; - // Only use printable characters of the current locale - std::copy_if(essid_begin, essid_end, std::back_inserter(m_essid), - [](char c) { return isprint(static_cast(c)); }); + std::copy(essid_begin, essid_end, std::back_inserter(m_essid)); } } }