As a part of LL stats get NB operation, the driver sends the LL stats req to the FW, waits for the response and sends back the stats in a synchronous reply. All this happens as a part of one single NB operation. Within this operation, if an rmmod comes, there can be a possiblity of a memory leak. In function hdd_link_layer_process_radio_stats, there is a check to validate the hdd_context and return if the driver is undergoing load/unload. As a part of the premature return, some stats are not returned to user space.. To resolve this, remove the validity check from the NB operation. The operation itself comes with DSC synchronization and ensures that the hdd_context remains valid atleast until the operation is complete. Thus there is no need for the redundant check of validity of hdd_context. Change-Id: I20cc85b715330a28bc077ca47a1721343bba7214 CRs-Fixed: 2714136 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
wma |