mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-11-10 16:49:17 +00:00
fix(usb): the firmware patch table and overheard 4-address frames logged at debug level
This commit is contained in:
1 parent
5327c777d0
commit
188be4589c
3 files changed
+4
-4
No files matched your search
@@ -180,7 +180,7 @@ int aicwf_plat_patch_table_load_8800d80n(struct rwnx_hw *rwnx_hw)
|
||||
if ((dst[i] == 0x0) || (dst[i] == 0xFFFFFFFF)) {
|
||||
break; // end of tbl
|
||||
}
|
||||
AICWFDBG(LOGERROR, "patch_tbl: %x %x\n", dst[i], dst[i+1]);
|
||||
AICWFDBG(LOGDEBUG, "patch_tbl: %x %x\n", dst[i], dst[i+1]);
|
||||
err = rwnx_send_dbg_mem_write_req(rwnx_hw, dst[i], dst[i+1]);
|
||||
}
|
||||
if (err) {
|
||||
|
||||
@@ -2749,7 +2749,7 @@ int aicwf_patch_table_load(struct rwnx_hw *rwnx_hw, char *filename)
|
||||
|
||||
if (!err && (i < size)) {
|
||||
for (i =(128/4); i < (size/4); i +=2) {
|
||||
AICWFDBG(LOGERROR, "patch_tbl: %x %x\n", dst[i], dst[i+1]);
|
||||
AICWFDBG(LOGDEBUG, "patch_tbl: %x %x\n", dst[i], dst[i+1]);
|
||||
err = rwnx_send_dbg_mem_write_req(rwnx_hw, dst[i], dst[i+1]);
|
||||
}
|
||||
if (err) {
|
||||
|
||||
@@ -2427,8 +2427,8 @@ check_len_update:
|
||||
|
||||
#ifndef CONFIG_SUPPORT_4ADDR
|
||||
if (hw_rxhdr->flags_is_4addr) {
|
||||
dev_err(rwnx_hw->dev, "4addr Frame received (%d), skb->len:%u\n", hw_rxhdr->flags_vif_idx, skb->len);
|
||||
print_hex_dump(KERN_ERR,"4addr ",DUMP_PREFIX_NONE, 16, 1, skb->data, skb->len, false);
|
||||
dev_dbg(rwnx_hw->dev, "4addr Frame received (%d), skb->len:%u\n", hw_rxhdr->flags_vif_idx, skb->len);
|
||||
print_hex_dump_debug("4addr ", DUMP_PREFIX_NONE, 16, 1, skb->data, skb->len, false);
|
||||
dev_kfree_skb(skb);
|
||||
goto end;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user