History log of /net/wireless/lib80211.c
Revision Date Author Comments
5df1415aee48e1d20328238d3077e39793e83232 14-Oct-2014 Andy Shevchenko <andriy.shevchenko@linux.intel.com> lib80211: remove unused print_ssid()

In kernel we have %*pE specifier to print an escaped buffer. All users
now switched to that approach.

This fixes a bug as well. The current implementation wrongly prints
octal numbers: only two first digits are used in case when 3 are
required and the rest of the string ends up cut off.

Additionally by default the \f, \v, \a, and \e are escaped to their
alphabetic representation. It's safe to do since it is currently used
for messaging only.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "John W . Linville" <linville@tuxdriver.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
9d630c77960bcd7ae36815a985039b78f24c8ba2 29-Jul-2011 Pavel Roskin <proski@gnu.org> lib80211: remove exports for functions not called by other modules

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
e9c0268f02f8970149158a9b7ea1e5c1c45c819d 17-Nov-2010 Joe Perches <joe@perches.com> net/wireless: Use pr_<level> and netdev_<level>

No change in output for pr_<level> prefixes.
netdev_<level> output is different, arguably improved.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2ba4b32ecf748d5f45f298fc9677fa46d1dd9aff 11-Nov-2008 John W. Linville <linville@tuxdriver.com> lib80211: consolidate crypt init routines

Signed-off-by: John W. Linville <linville@tuxdriver.com>
274bfb8dc5ffa16cb073801bebe76ab7f4e2e73d 29-Oct-2008 John W. Linville <linville@tuxdriver.com> lib80211: absorb crypto bits from net/ieee80211

These bits are shared already between ipw2x00 and hostap, and could
probably be shared both more cleanly and with other drivers. This
commit simply relocates the code to lib80211 and adjusts the drivers
appropriately.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
9387b7caf3049168fc97a8a9111af8fe2143af18 01-Oct-2008 John W. Linville <linville@tuxdriver.com> wireless: use individual buffers for printing ssid values

Also change escape_ssid to print_ssid to match print_mac semantics.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
2819f8ad6da1e24b5dd94a221978e61f2a9c972a 30-Sep-2008 John W. Linville <linville@tuxdriver.com> wireless: escape_ssid should handle non-printables

Also use common backslash sequences like \t, \n, \r, and \\ as well as \0.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
c5d3dce875ef055ed9b14f169cc967cc2c8faf1f 30-Sep-2008 John W. Linville <linville@tuxdriver.com> 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 <linville@tuxdriver.com>
7e272fcff6f0a32a3d46e600ea5895f6058f4e2d 25-Sep-2008 John W. Linville <linville@tuxdriver.com> wireless: consolidate on a single escape_essid implementation

Signed-off-by: John W. Linville <linville@tuxdriver.com>