aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2014-02-05 16:58:32 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2014-02-13 09:30:11 -0500
commit2c34752ad965d8628db050a1f66ac774f692edcd (patch)
tree3415953942152c0786d53c5c1db8261f380c38af
parentf591a1a5dc34341dce9af2efaa9e2e824ceb67be (diff)
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>
-rw-r--r--drivers/net/wireless/ath/ath10k/wmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index 7298c0677b0b..b3c5a1faad43 100644
--- 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)
2071 memcpy(ar->mac_addr, ev->mac_addr.addr, ETH_ALEN); 2071 memcpy(ar->mac_addr, ev->mac_addr.addr, ETH_ALEN);
2072 2072
2073 ath10k_dbg(ATH10K_DBG_WMI, 2073 ath10k_dbg(ATH10K_DBG_WMI,
2074 "wmi event ready sw_version %u abi_version %u mac_addr %pM status %d\n", 2074 "wmi event ready sw_version %u abi_version %u mac_addr %pM status %d skb->len %i ev-sz %zu\n",
2075 __le32_to_cpu(ev->sw_version), 2075 __le32_to_cpu(ev->sw_version),
2076 __le32_to_cpu(ev->abi_version), 2076 __le32_to_cpu(ev->abi_version),
2077 ev->mac_addr.addr, 2077 ev->mac_addr.addr,
2078 __le32_to_cpu(ev->status)); 2078 __le32_to_cpu(ev->status), skb->len, sizeof(*ev));
2079 2079
2080 complete(&ar->wmi.unified_ready); 2080 complete(&ar->wmi.unified_ready);
2081 return 0; 2081 return 0;