]> 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)
commit1868028f06fc8479902d72b67b3ca57f5fdce5f0
tree924d72a530e06341971515b67e5c0425e0a9bad3
parenta5703e0f85e9ddcdee373faf339b30ea87683950
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