Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b716625 authored by Avinash Patil's avatar Avinash Patil Committed by Kalle Valo
Browse files

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: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarCathy Luo <cluo@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 88af6f05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1820,7 +1820,7 @@ static int mwifiex_cfg80211_start_ap(struct wiphy *wiphy,
				    "Failed to disable 11h extensions!!");
			return -1;
		}
		priv->state_11h.is_11h_active = true;
		priv->state_11h.is_11h_active = false;
	}

	if (mwifiex_config_start_uap(priv, bss_cfg)) {