]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: make sure to use passive scan when n_ssids is 0
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 31 Jul 2013 08:55:12 +0000 (10:55 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Aug 2013 06:37:28 +0000 (09:37 +0300)
commit0db74168e7ab557e773a73551ac88eb12614b6a2
tree83a259b243576b58d351fc0aa7eff5c772f88b40
parentc84612bb81dcaa170765c38a3b7b077d66d6cc3b
ath10k: make sure to use passive scan when n_ssids is 0

Normally user specifies broadcast ssid for
scanning. If the user wants to do a passive scan
it does not pass any ssids.

The patch makes sure we ath10k tells firmware to
not send anything at all in case it decides no
ssids equals broadcast ssid.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c