ath10k: print out size of wmi-ready-event message
Show message length and expected length. Helps debug firmware mismatch issues. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
f591a1a5dc
commit
2c34752ad9
1 changed files with 2 additions and 2 deletions
|
@ -2071,11 +2071,11 @@ static int ath10k_wmi_ready_event_rx(struct ath10k *ar, struct sk_buff *skb)
|
||||||
memcpy(ar->mac_addr, ev->mac_addr.addr, ETH_ALEN);
|
memcpy(ar->mac_addr, ev->mac_addr.addr, ETH_ALEN);
|
||||||
|
|
||||||
ath10k_dbg(ATH10K_DBG_WMI,
|
ath10k_dbg(ATH10K_DBG_WMI,
|
||||||
"wmi event ready sw_version %u abi_version %u mac_addr %pM status %d\n",
|
"wmi event ready sw_version %u abi_version %u mac_addr %pM status %d skb->len %i ev-sz %zu\n",
|
||||||
__le32_to_cpu(ev->sw_version),
|
__le32_to_cpu(ev->sw_version),
|
||||||
__le32_to_cpu(ev->abi_version),
|
__le32_to_cpu(ev->abi_version),
|
||||||
ev->mac_addr.addr,
|
ev->mac_addr.addr,
|
||||||
__le32_to_cpu(ev->status));
|
__le32_to_cpu(ev->status), skb->len, sizeof(*ev));
|
||||||
|
|
||||||
complete(&ar->wmi.unified_ready);
|
complete(&ar->wmi.unified_ready);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue