qcacld-3.0: Update bandwidth after roaming
GET_MAX_BANDWIDTH return incorrect value after set bandwidth to 20 MHz and roaming, since bonding is disable when set max bandwidth to 20 MHz. If we set restore flag as true, bonding mode will update from INI, and channel bandwidth will update while roam to bandwidth higher than 20 MHz. Change-Id: Ic0c65b1d0ab56e5840e03defa839e06321b702b8 CRs-Fixed: 3615778
This commit is contained in:

committed by
Ravindra Konda

parent
e4f97836df
commit
ac7a655e17
@@ -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);
|
||||
|
Reference in New Issue
Block a user