wil6210: improve debug for WMI receive
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Thu, 29 May 2014 15:37:52 +0000 (18:37 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 May 2014 17:49:34 +0000 (13:49 -0400)
commita715c7ddd65a1a3b2839b8ebd759bb2d361f7675
tree924d72a530e06341971515b67e5c0425e0a9bad3
parent8f1e5d31cf92b037506d5222fc713f27b5d46718
wil6210: improve debug for WMI receive

Print message if no events received. This should not happen.
If it is, it points to the problem in firmware.
Track also cases when multiple events processed in one IRQ

Print information as soon as possible - mbox pointers and
event header right after reading it. This helps to identify potential
problem with memory allocation for the event buffer.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/wmi.c