mwifiex: apply radar flag
authorKarthik Ananthapadmanabha <karthida@marvell.com>
Wed, 5 Apr 2017 11:36:20 +0000 (17:06 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 5 Apr 2017 12:54:52 +0000 (15:54 +0300)
commit1aed89640a899cd695bbfc976a4356affa474646
tree3ad23d6ccba840f6c55a1810c15ef7caafb1e6cf
parent495d36e66814e77c4ef8ef9711f3d4c358ef0902
mwifiex: apply radar flag

When IEEE80211_CHAN_RADAR is set by cfg80211, passive scan must be
performed. In mwifiex,active scan is performed even though flag is
set from cfg80211. mwifiex_reg_apply_radar_flags() function added
in this patch correctly uses radar flag.

Signed-off-by: Karthik Ananthapadmanabha <karthida@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c