]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: delay remain on channel when scan is active
authorLior David <qca_liord@qca.qualcomm.com>
Mon, 28 Nov 2016 11:49:00 +0000 (13:49 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 1 Dec 2016 11:20:26 +0000 (13:20 +0200)
commit0cc4cbb54aaa5d2b6dbd91dd10d413fce1969421
tree48cd38ddcd12c62556c958ecbe10f5226dd22937
parent5990aea8161abfc0291b78c02e40fbcf50f49656
wil6210: delay remain on channel when scan is active

Currently it was possible to call remain_on_channel(ROC)
while scan was active and this caused a crash in the FW.
In order to fix this problem and make the behavior
consistent with other drivers, queue the ROC in case
a scan is active and try it again when scan is done.
As part of the fix, clean up some locking issues and
return error if scan is called while ROC is active.

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/cfg80211.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/p2p.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wmi.c