android_kernel_xiaomi_sm8350/core
Sourav Mohapatra a094392f11 qcacld-3.0: Do not register frames in FTM mode after SSR
During driver re init after SSR, all the previous adapters that were up
get re-initialized. In the case when SSR was triggered in FTM mode with
an interface up, the re_init path tries to register management frames.
As in FTM mode the message processor is not invoked, the memory
allocated by the register frames method is not freed in any context.
This leads to memory leak during the next call to
hdd_wlan_stop_modules.

Add a check in wlan_hdd_cfg80211_register_frames so as not to continue
with the registration if the driver mode if FTM.

Change-Id: I3cb8aa14d5298c0a76c0f30ca7cf1f0e7ad88dde
CRs-Fixed: 2351672
2018-12-10 00:20:34 -08:00
..
bmi qcacld-3.0: fix wlan driver reload issue without CNSS module 2018-11-23 02:00:06 -08:00
cds qcacld-3.0: Remove obsolete CDS Packet Tracking macros 2018-12-06 23:09:53 -08:00
dp qcacld-3.0: Send peer unmap confirmation cmd to FW 2018-12-07 15:53:01 -08:00
hdd qcacld-3.0: Do not register frames in FTM mode after SSR 2018-12-10 00:20:34 -08:00
mac Release 5.2.0.110W 2018-12-08 07:40:42 -08:00
pld qcacld-3.0: fix wlan driver reload issue without CNSS module 2018-11-23 02:00:06 -08:00
sap qcacld-3.0: Remove wlansap management frame registrar 2018-12-07 15:53:06 -08:00
sme qcacld-3.0: Fix csr_api_scan.c function style issues 2018-12-07 11:18:42 -08:00
wma qcacld-3.0: Remove obsolete wma_is_*_active() 2018-12-07 09:40:36 -08:00