Skip to content

Commit

Permalink
drivers: staging: qca: Merge branch android-msm-sunfish-4.14-android1…
Browse files Browse the repository at this point in the history
…3 (android-13.0.0_r0.41)

Signed-off-by: engstk <[email protected]>
  • Loading branch information
engstk committed Nov 9, 2022
1 parent 95cf7a4 commit 155cea5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions drivers/staging/qcacld-3.0/core/mac/src/pe/lim/lim_assoc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2546,6 +2546,22 @@ lim_add_sta(tpAniSirGlobal mac_ctx,
add_sta_params->stbc_capable = 0;
}

if (session_entry->pePersona == QDF_SAP_MODE ||
session_entry->pePersona == QDF_P2P_GO_MODE) {
if (session_entry->parsedAssocReq) {
uint16_t aid = sta_ds->assocId;
/* Get a copy of the already parsed Assoc Request */
assoc_req =
(tpSirAssocReq) session_entry->parsedAssocReq[aid];

if (assoc_req) {
add_sta_params->wpa_rsn = assoc_req->rsnPresent;
add_sta_params->wpa_rsn |=
(assoc_req->wpaPresent << 1);
}
}
}

lim_update_he_stbc_capable(add_sta_params);

msg_q.type = WMA_ADD_STA_REQ;
Expand Down

0 comments on commit 155cea5

Please sign in to comment.