mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Fix HE capable setting in TDLS setup
Currently HE capable for TDLS peer is set from STA connection session which sets the TDLS peer HE capability incorrectly. Set the HE capable setting for TDLS peer from the peer STA context that has correct value. Change-Id: I232d32fb45ea5bbe7c2925922de3804e28f888cc CRs-Fixed: 2441422
This commit is contained in:
parent
eded83990b
commit
412686bc01
1 changed files with 4 additions and 0 deletions
|
|
@ -7144,6 +7144,10 @@ void lim_update_sta_he_capable(struct mac_context *mac,
|
|||
{
|
||||
if (LIM_IS_AP_ROLE(session_entry) || LIM_IS_IBSS_ROLE(session_entry))
|
||||
add_sta_params->he_capable = sta_ds->mlmStaContext.he_capable;
|
||||
#ifdef FEATURE_WLAN_TDLS
|
||||
else if (STA_ENTRY_TDLS_PEER == sta_ds->staType)
|
||||
add_sta_params->he_capable = sta_ds->mlmStaContext.he_capable;
|
||||
#endif
|
||||
else
|
||||
add_sta_params->he_capable = session_entry->he_capable;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue