Skip to content
  • Andy Shevchenko's avatar
    lib80211: remove unused print_ssid() · 5df1415a
    Andy Shevchenko authored
    
    
    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: default avatarAndy 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    5df1415a