]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: set passive scan type for scan requests with no ssid
authorAvinash Patil <patila@marvell.com>
Fri, 12 Sep 2014 14:38:53 +0000 (20:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:00:51 +0000 (15:00 -0400)
commit8b103b94cc7bbff8c7b067471036890a4197474c
tree24fbde261693da15ebfcf573375fa7db1cbd8b31
parent519221e81bb7161c87e9df7508d16f7e394b2f02
mwifiex: set passive scan type for scan requests with no ssid

It was observed that station would sent probe request even when
scan type has been set as passive during iw scan.
This was happening because driver sets passive scan type only
when channel has IEEE80211_CHAN_NO_IR flag set.
Along with this, add condition to check if no ssids are specified in
scan request so as to mark such scan request passive.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c