wireless: hostap: proc: print properly escaped SSID
authorAndy Shevchenko <[email protected]>
Mon, 13 Oct 2014 22:55:24 +0000 (15:55 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Oct 2014 00:18:27 +0000 (02:18 +0200)
commite5ead669a3de3cc822f19b7289932ffbf9664328
tree06400f16c4c3802a10cb5a88fba17ed972317b28
parent4b4890cb6aebb1669879a02c51a3c3eff629dff0
wireless: hostap: proc: print properly escaped SSID

Instead of substituting non-printable characters by '_' let's print SSID
properly escaped by using recently added %*pE specifier.

[[email protected]: fix printk type warning]
[[email protected]: remove now-unused local `i']
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: "John W . Linville" <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/net/wireless/hostap/hostap_proc.c