linux/drivers/net/wireless/iwlegacy
Andy Shevchenko 8358491d89 iwlegacy: convert hex_dump_to_buffer() to %*ph
There is no need to use hex_dump_to_buffer() in the cases like this:

	hexdump_to_buffer(buf, len, 16, 1, outbuf, outlen, false);	/* len <= 16 */
	sprintf("%s\n", outbuf);

since it maybe easily converted to simple:

	sprintf("%*ph\n", len, buf);

Note: it seems in the case the output is groupped by 2 bytes and looks like a
typo. Thus, patch changes that to plain byte stream.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-07-21 18:08:21 +03:00
..
3945-debug.c drivers: net: Mark functions as static in 3945-debug.c 2013-12-18 15:23:12 -05:00
3945-mac.c iwlegacy: convert hex_dump_to_buffer() to %*ph 2015-07-21 18:08:21 +03:00
3945-rs.c mac80211: remove module handling from rate control ops 2014-02-04 21:48:26 +01:00
3945.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
3945.h iwlegacy: Remove extern from function prototypes 2013-09-24 18:05:24 -07:00
4965-calib.c iwlegacy: remove enum iw_calib and related code 2012-02-29 14:14:55 -05:00
4965-debug.c drivers: net: Mark functions as static in 4965-debug.c 2013-12-18 15:23:14 -05:00
4965-mac.c mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
4965-rs.c iwlegacy: 4965-rs: Remove bogus colon after newline from debug message 2015-03-03 14:22:46 +02:00
4965.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
4965.h mac80211: allow channel switch with multiple channel contexts 2014-10-09 11:30:09 +02:00
Kconfig iwlegacy: Kconfig: Change Debug Option to be more clear 2012-02-29 14:14:55 -05:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
commands.h iwlegacy: properly enable power saving 2014-02-24 15:21:55 -05:00
common.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
common.h mac80211: support more than one band in scan request 2014-06-25 09:10:42 +02:00
csr.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c iwlegacy: convert hex_dump_to_buffer() to %*ph 2015-07-21 18:08:21 +03:00
iwl-spectrum.h iwlegacy: rename iwl to il 2011-11-15 11:16:58 +01:00
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00