diff --git a/src/drivers/driver_nl80211_event.c b/src/drivers/driver_nl80211_event.c index 6e7574879..e8ddb6337 100644 --- a/src/drivers/driver_nl80211_event.c +++ b/src/drivers/driver_nl80211_event.c @@ -1272,8 +1272,14 @@ static void mlme_event_ch_switch(struct wpa_driver_nl80211_data *drv, mld_link = nl80211_get_link(bss, data.ch_switch.link_id); mld_link->freq = data.ch_switch.freq; + if (bw) + mld_link->bandwidth = channel_width_to_int( + data.ch_switch.ch_width); } else { bss->flink->freq = data.ch_switch.freq; + if (bw) + bss->flink->bandwidth = channel_width_to_int( + data.ch_switch.ch_width); } }