mwifiex: reset 11h active flag when chandef does not require dfs
authorAvinash Patil <patila@marvell.com>
Wed, 3 Jun 2015 11:29:35 +0000 (16:59 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jun 2015 08:41:48 +0000 (11:41 +0300)
commit7b7166256d277080a11c0fcee8d8b884f54edd84
tree431afe452b59347c9c9e4a8dd8dbee18337ac9b8
parent88af6f053ad8c18e250165ba8b8e14b6fe4a1813
mwifiex: reset 11h active flag when chandef does not require dfs

This patch fixes an issue where we were still setting 11h_active
flag to true for channel defs where DFS is not required.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cfg80211.c