]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd303635842055e866eb9b271ff396f147194ae55
tree924d72a530e06341971515b67e5c0425e0a9bad3
parent4fe01b01398e6f37a5e4656e87dbc72261b551e2
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