For wlan0/p2p0, connect_rpm_ctx is deinit in hdd_cleanup_adapter. In two cases, memleak will be detected. 1 if stop modules is triggered from __hdd_stop turn on/off wifi, wait iface_change_wait_time 2 if stop modules is triggered from wlan_hdd_startup when booting wifi, stay idle, wait iface_change_wait_time As hdd_cleanup_adapter is only happens when rmmod, so it doesn't satisfy LONU memleak detection. Move connect_rpm_ctx from adapter to hdd_context, and init/deinit following with module start/stop. Change-Id: Iaa1934594d5ffcf3b90dd2ad41bba4eb62f71119 CRs-Fixed: 2169828 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
wma |