wil6210: allow empty WMI commands in debugfs wmi_send
authorLior David <qca_liord@qca.qualcomm.com>
Mon, 21 Mar 2016 20:01:11 +0000 (22:01 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 4 Apr 2016 14:07:28 +0000 (17:07 +0300)
commit69218a48005d0c93b8e9ec483f42ead481a43034
tree43e0829abad37c34d968529a679b58485b84ed35
parent7b9bc799a445aea95f64f15e0083cb19b5789abe
wil6210: allow empty WMI commands in debugfs wmi_send

There are many valid WMI commands with only header without any
additional payload. Such WMI commands could not be sent using
the debugfs wmi_send facility. Fix the code to allow sending
of such commands.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/debugfs.c