qcacld-3.0: Free the memory in wma_rx_invalid_peer_ind
Free the memory in wma_rx_invalid_peer_ind in case the indication is dropped. Change-Id: I8e1d1fccd15e3af08b04d44670f31eb8f11fbe95 CRs-Fixed: 2550819
This commit is contained in:
parent
f67c42598d
commit
dd4e60dd31
@ -3181,6 +3181,7 @@ uint8_t wma_rx_invalid_peer_ind(uint8_t vdev_id, void *wh)
|
||||
wma_debug_rl("Ignore invalid peer indication as received more than once "
|
||||
QDF_MAC_ADDR_STR,
|
||||
QDF_MAC_ADDR_ARRAY(rx_inv_msg->ra));
|
||||
qdf_mem_free(rx_inv_msg);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user