qcacld-3.0: Setting epcs_pri_access after initialize
Setting epcs_pri_access flag should be after initialization or it is overwritten. Change-Id: Ia3018d35b9a4db5e00e187ca7f03817ee7596762 CRs-Fixed: 3549759
This commit is contained in:

committed by
Rahul Choudhary

parent
0ab34727ca
commit
7da360b2a2
@@ -9296,14 +9296,14 @@ QDF_STATUS populate_dot11f_eht_caps(struct mac_context *mac_ctx,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (!wlan_epcs_get_config(session->vdev))
|
||||
eht_cap->epcs_pri_access = 0;
|
||||
|
||||
/** TODO: String items needs attention. **/
|
||||
qdf_mem_copy(eht_cap, &session->eht_config, sizeof(*eht_cap));
|
||||
if (session->ch_width != CH_WIDTH_320MHZ)
|
||||
eht_cap->support_320mhz_6ghz = 0;
|
||||
|
||||
if (!wlan_epcs_get_config(session->vdev))
|
||||
eht_cap->epcs_pri_access = 0;
|
||||
|
||||
populate_dot11f_rtwt_eht_cap(mac_ctx, eht_cap);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user