mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Update beacon rpt error code
Currently, There is no check for new report to find if previous beacon report request is in progress. So whenever a new beacon report request comes, it is processed without consideration of any ongoing beacon request processing. Fix is to add a check of request in progress and append err code BCN_RPT_ERR_PREVIOUS_REQUEST_PROGRESS in measurement report response. To find that curr report request is in progress, add a check mac_ctx->rrm.rrmPEContext.pCurrentReq[index]. For valid mac_ctx->rrm.rrmPEContext.pCurrentReq[index] err vsie will append. Change-Id: I91127c5c9ccaa19f20c29c85524b89b873e02e17 CRs-Fixed: 2668127
This commit is contained in:
parent
4731023597
commit
ea09f91ec3
1 changed files with 2 additions and 1 deletions
|
|
@ -1178,7 +1178,8 @@ QDF_STATUS rrm_process_beacon_req(struct mac_context *mac_ctx, tSirMacAddr peer,
|
|||
tpSirMacRadioMeasureReport report;
|
||||
tpRRMReq curr_req;
|
||||
|
||||
if (index >= MAX_MEASUREMENT_REQUEST) {
|
||||
if (index >= MAX_MEASUREMENT_REQUEST ||
|
||||
mac_ctx->rrm.rrmPEContext.pCurrentReq[index]) {
|
||||
if (!*radiomes_report) {
|
||||
/*
|
||||
* Allocate memory to send reports for
|
||||
|
|
|
|||
Loading…
Reference in a new issue