]> 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)
commit02ba629afa921ed6185006fccca93d4616771ebc
tree48cd38ddcd12c62556c958ecbe10f5226dd22937
parentdfe5942e48177994724fcf4cbbd0e66a29e7d4ff
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