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>
This commit is contained in:
Joe Perches 2012-01-15 00:38:43 -08:00 коммит произвёл John W. Linville
Родитель 18aad4f8e1
Коммит c2e6d5abab
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -5858,9 +5858,8 @@ void brcms_c_print_txdesc(struct d11txh *txh)
struct ieee80211_rts rts = txh->rts_frame; struct ieee80211_rts rts = txh->rts_frame;
/* add plcp header along with txh descriptor */ /* add plcp header along with txh descriptor */
pr_debug("Raw TxDesc + plcp header:\n"); brcmu_dbg_hex_dump(txh, sizeof(struct d11txh) + 48,
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, "Raw TxDesc + plcp header:\n");
txh, sizeof(struct d11txh) + 48);
pr_debug("TxCtlLow: %04x ", mtcl); pr_debug("TxCtlLow: %04x ", mtcl);
pr_debug("TxCtlHigh: %04x ", mtch); pr_debug("TxCtlHigh: %04x ", mtch);
@ -5986,9 +5985,7 @@ void brcms_c_print_rxh(struct d11rxhdr *rxh)
{0, NULL} {0, NULL}
}; };
pr_debug("Raw RxDesc:\n"); brcmu_dbg_hex_dump(rxh, sizeof(struct d11rxhdr), "Raw RxDesc:\n");
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, rxh,
sizeof(struct d11rxhdr));
brcms_c_format_flags(macstat_flags, macstatus1, flagstr, 64); brcms_c_format_flags(macstat_flags, macstatus1, flagstr, 64);