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>
This commit is contained in:
parent
b1c3e4d071
commit
35756c02ea
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue