]> git.baikalelectronics.ru Git - kernel.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)
commitc8f8d52837d29726c0c4f7956e78b99f65e0df5b
treedcf2c13227bfee364aa06aad4e921265d478109a
parent6c41d1f94d55633af677cb886dc1ed694e7b190b
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