diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index acd956cf62..b30e95c888 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -11125,7 +11125,7 @@ skip_mlo: return -EINVAL; } set_chan_width: - return hdd_set_mac_chan_width(link_info, chwidth, link_id, false); + return hdd_set_mac_chan_width(link_info, chwidth, link_id, true); } /** @@ -12514,7 +12514,6 @@ static int hdd_get_channel_width(struct wlan_hdd_link_info *link_info, if (!vdev) return -EINVAL; - bss_chan = wlan_vdev_mlme_get_bss_chan(vdev); if (!bss_chan) { hdd_objmgr_put_vdev_by_user(vdev, WLAN_OSIF_ID);