mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
Merge "qcacld-3.0: Do not update beacon for ESE" into wlan-cld3.driver.lnx.2.0
This commit is contained in:
commit
50afc69a7d
1 changed files with 11 additions and 0 deletions
|
|
@ -15213,6 +15213,7 @@ QDF_STATUS sme_fast_reassoc(tHalHandle hal, tCsrRoamProfile *profile,
|
|||
QDF_STATUS status;
|
||||
struct wma_roam_invoke_cmd *fastreassoc;
|
||||
struct scheduler_msg msg = {0};
|
||||
tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal);
|
||||
|
||||
fastreassoc = qdf_mem_malloc(sizeof(*fastreassoc));
|
||||
if (NULL == fastreassoc) {
|
||||
|
|
@ -15250,6 +15251,16 @@ QDF_STATUS sme_fast_reassoc(tHalHandle hal, tCsrRoamProfile *profile,
|
|||
fastreassoc->frame_len = 0;
|
||||
}
|
||||
|
||||
if (csr_is_auth_type_ese(mac_ctx->roam.roamSession[vdev_id].
|
||||
connectedProfile.AuthType)) {
|
||||
sme_debug("Beacon is not required for ESE");
|
||||
if (fastreassoc->frame_len) {
|
||||
qdf_mem_free(fastreassoc->frame_buf);
|
||||
fastreassoc->frame_buf = NULL;
|
||||
fastreassoc->frame_len = 0;
|
||||
}
|
||||
}
|
||||
|
||||
msg.type = SIR_HAL_ROAM_INVOKE;
|
||||
msg.reserved = 0;
|
||||
msg.bodyptr = fastreassoc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue