android_kernel_xiaomi_sm8350/core
Jingxiang Ge b49aa305d6 qcacld-3.0: Fix memleak for pm runtime suspend lock
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
2018-01-19 11:40:15 -08:00
..
bmi Revert "qcacld-3.0: Do not access target register in driver unloading" 2017-10-25 17:48:22 -07:00
cds qcacld-3.0: Set RX thread CPU affinity to all online perf core 2018-01-19 05:24:43 -08:00
dp qcacld-3.0: Protect peer info when calling from rx thread 2018-01-19 03:54:40 -08:00
hdd qcacld-3.0: Fix memleak for pm runtime suspend lock 2018-01-19 11:40:15 -08:00
mac Release 5.2.0.62D 2018-01-19 05:24:46 -08:00
pld qcacld-3.0: Remove unused PLD PCIe APIs 2017-12-01 13:39:58 -08:00
sap qcacld-3.0: ACS fail-safe channel config indication 2018-01-16 01:59:02 -08:00
sme qcacld-3.0: Disable roaming for SAE 2018-01-19 03:55:06 -08:00
wma qcacld-3.0: Add obss detection offload support 2018-01-17 17:49:06 -08:00