mesh: Assign channel in frequency params in all bands

Previously, the channel number was set in hostapd_freq_params only with
the presence of HT capabilities. Set the channel number before the check
for HT mode to accommodate the 6 GHz band cases.

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
master
Pradeep Kumar Chitrapu 4 years ago committed by Jouni Malinen
parent b1c3e4d071
commit 35756c02ea

@ -2430,6 +2430,8 @@ void ibss_mesh_setup_freq(struct wpa_supplicant *wpa_s,
if (!mode)
return;
freq->channel = channel;
is_24ghz = hw_mode == HOSTAPD_MODE_IEEE80211G ||
hw_mode == HOSTAPD_MODE_IEEE80211B;

Loading…
Cancel
Save