|
@@ -1041,9 +1041,6 @@ static void wma_peer_send_phymode(struct wlan_objmgr_vdev *vdev,
|
|
|
fw_phymode = wmi_host_to_fw_phymode(new_phymode);
|
|
|
vdev_id = wlan_vdev_get_id(vdev);
|
|
|
|
|
|
- wma_set_peer_param(wma, peer_mac_addr, WMI_HOST_PEER_PHYMODE,
|
|
|
- fw_phymode, vdev_id);
|
|
|
-
|
|
|
max_ch_width_supported =
|
|
|
wmi_get_ch_width_from_phy_mode(wma->wmi_handle,
|
|
|
fw_phymode);
|
|
@@ -1066,6 +1063,9 @@ static void wma_peer_send_phymode(struct wlan_objmgr_vdev *vdev,
|
|
|
wma_set_peer_param(wma, peer_mac_addr, WMI_HOST_PEER_CHWIDTH,
|
|
|
max_ch_width_supported, vdev_id);
|
|
|
}
|
|
|
+
|
|
|
+ wma_set_peer_param(wma, peer_mac_addr, WMI_HOST_PEER_PHYMODE,
|
|
|
+ fw_phymode, vdev_id);
|
|
|
wma_debug("FW phymode %d old phymode %d new phymode %d bw %d punct: 0x%x macaddr " QDF_MAC_ADDR_FMT,
|
|
|
fw_phymode, old_peer_phymode, new_phymode,
|
|
|
max_ch_width_supported, new_puncture_bitmap,
|