wil6210: ensure P2P device is stopped before removing interface
authorLior David <qca_liord@qca.qualcomm.com>
Mon, 28 Aug 2017 19:18:47 +0000 (22:18 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Aug 2017 12:19:54 +0000 (15:19 +0300)
commit69fecf599f48e258984b2ffdf0a4c65a35a31287
tree5e51657f2d66f0fa8155829f17b9bb3034f493eb
parentd83ad4c4fd78b22935711f865048bab78b43fc86
wil6210: ensure P2P device is stopped before removing interface

User space can remove the P2P management interface while it is active
(for example, while listen/search is active) and this can cause
a crash. Ensure the P2P device is fully stopped before removing.

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