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

Commit 39d94eaa authored by Avinash Patil's avatar Avinash Patil Committed by Kalle Valo
Browse files

mwifiex: update current config_band info in start_ap



It was observed that AP beacons would not reflect correct regulatory
information upon starting AP in A band. This was because of missing
AP config band update in set_channel of start_ap.

Signed-off-by: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 7a56c416
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -832,6 +832,8 @@ void mwifiex_uap_set_channel(struct mwifiex_private *priv,
		if (chandef.width > NL80211_CHAN_WIDTH_40)
			config_bands |= BAND_AAC;
	}

	priv->adapter->config_bands = config_bands;
}

int mwifiex_config_start_uap(struct mwifiex_private *priv,