]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: fix WMI scan command length
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Tue, 7 Oct 2014 10:26:43 +0000 (12:26 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 8 Oct 2014 10:23:47 +0000 (13:23 +0300)
commit6db0885a6cadbfb5d4f24e0b34c5ff30eb66300f
tree2897cd77f86fa8b9618464e6752838aa1fd1157d
parent8026cae7aa02f24c25471269009fa8ffc6f72cd6
ath10k: fix WMI scan command length

Fix WMI scan command length we setup when scan request.

This fix issue with 636 firmware when scan always failed
with message:

ath10k_pci 0000:02:00.0: wmi start scan
ath10k_pci 0000:02:00.0: wmi stop scan reqid 1 req_type 0 vdev/scan_id 0
ath10k_pci 0000:02:00.0: failed to stop wmi scan: -11
ath10k_pci 0000:02:00.0: failed to stop scan: -11
ath10k_pci 0000:02:00.0: failed to start hw scan: -110

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c