Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

brcm80211: Use brcmu_dbg_hex_dump

Convert a couple of pr_debug/print_hex_dump to
the standard utility.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Joe Perches and committed by
John W. Linville
c2e6d5ab 18aad4f8

+3 -6
+3 -6
drivers/net/wireless/brcm80211/brcmsmac/main.c
··· 5858 5858 struct ieee80211_rts rts = txh->rts_frame; 5859 5859 5860 5860 /* add plcp header along with txh descriptor */ 5861 - pr_debug("Raw TxDesc + plcp header:\n"); 5862 - print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, 5863 - txh, sizeof(struct d11txh) + 48); 5861 + brcmu_dbg_hex_dump(txh, sizeof(struct d11txh) + 48, 5862 + "Raw TxDesc + plcp header:\n"); 5864 5863 5865 5864 pr_debug("TxCtlLow: %04x ", mtcl); 5866 5865 pr_debug("TxCtlHigh: %04x ", mtch); ··· 5985 5986 {0, NULL} 5986 5987 }; 5987 5988 5988 - pr_debug("Raw RxDesc:\n"); 5989 - print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, rxh, 5990 - sizeof(struct d11rxhdr)); 5989 + brcmu_dbg_hex_dump(rxh, sizeof(struct d11rxhdr), "Raw RxDesc:\n"); 5991 5990 5992 5991 brcms_c_format_flags(macstat_flags, macstatus1, flagstr, 64); 5993 5992