]> asedeno.scripts.mit.edu Git - linux.git/commit
wil6210: fix PCIe bus mastering in case of interface down
authorLazar Alexei <qca_ailizaro@qca.qualcomm.com>
Tue, 14 Nov 2017 13:25:42 +0000 (15:25 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 2 Dec 2017 14:19:03 +0000 (16:19 +0200)
commit680c242dc25e036265793edc7d755cfc15afd231
treedcf2c13227bfee364aa06aad4e921265d478109a
parent6804cd101c50c61960aff323db978b425cbcfcf0
wil6210: fix PCIe bus mastering in case of interface down

In case of interface down, radio is turned off but PCIe mastering is
not cleared.
This can cause unexpected PCIe access to the shutdown device.
Fix this by clearing PCIe mastering also in case interface is down

Signed-off-by: Lazar Alexei <qca_ailizaro@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/pcie_bus.c
drivers/net/wireless/ath/wil6210/pm.c
drivers/net/wireless/ath/wil6210/wil6210.h