wil6210: do not start regular scan on stopped p2p device
authorLior David <qca_liord@qca.qualcomm.com>
Wed, 8 Mar 2017 11:52:11 +0000 (13:52 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 9 Mar 2017 08:04:04 +0000 (10:04 +0200)
commit4a0e45a78328957b012f554fb2ffcd5c69fe418a
tree567eec545ea306018782371d7342c81ec560063d
parentf2de576dcfd094b02297c251223b0e2c9de96c33
wil6210: do not start regular scan on stopped p2p device

The driver should not allow starting any type of scan on a stopped
P2P device. Current implementation only checked social scan.

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