• A
    lib80211: remove unused print_ssid() · 5df1415a
    Andy Shevchenko 提交于
    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: NAndy 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: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    5df1415a
lib80211.h 3.9 KB