diff options
| author | Arunk Khandavalli <akhandav@codeaurora.org> | 2017-02-07 17:15:42 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-02-07 15:54:30 -0800 |
| commit | 635249ce532250a2969225d273c91d2f356295fa (patch) | |
| tree | e80a7819d408f5a1ce959447ef810f80ed306533 | |
| parent | a3081284b7542d148fed89c828e6de4a88ba5512 (diff) | |
qcacld-3.0: break once the rcpi_req is sent to firmware
Presently after sending the rcpi request to firmware, we are not
breaking from the switch case Which is resulting in freeing
the memory which has not been allocated.
Add break once the rcpi request is sent to the firmware.
Change-Id: Ib9dbf4fb2ec0420f0e3df759c8ba9b85763d3c74
CRs-Fixed: 2003420
| -rw-r--r-- | core/wma/src/wma_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 406f4022c3a4..dc0d99b5c955 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -7133,6 +7133,7 @@ QDF_STATUS wma_mc_process_msg(void *cds_context, cds_msg_t *msg) wma_get_rcpi_req(wma_handle, (struct sme_rcpi_req *)msg->bodyptr); qdf_mem_free(msg->bodyptr); + break; case WMA_ENABLE_BCAST_FILTER: wma_configure_non_arp_broadcast_filter(wma_handle, (struct broadcast_filter_request *) msg->bodyptr); |
