projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f591a1a
)
ath10k: print out size of wmi-ready-event message
author
Ben Greear
<greearb@candelatech.com>
Wed, 5 Feb 2014 21:58:32 +0000
(13:58 -0800)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 14:30:11 +0000
(16:30 +0200)
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>
drivers/net/wireless/ath/ath10k/wmi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/wmi.c
b/drivers/net/wireless/ath/ath10k/wmi.c
index 7298c0677b0b32b1236d0271f763957ffafb174c..b3c5a1faad4390f5e64cfd7c7cda4a505256b9e7 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/wmi.c
+++ b/
drivers/net/wireless/ath/ath10k/wmi.c
@@
-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);
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->abi_version),
ev->mac_addr.addr,
- __le32_to_cpu(ev->status));
+ __le32_to_cpu(ev->status)
, skb->len, sizeof(*ev)
);
complete(&ar->wmi.unified_ready);
return 0;