android_kernel_xiaomi_sm8350/core
Will Huang ba035ec953 qcacld-3.0: Fix deadlock of rmmod and wlan start module
On cnss2 platform, the cnss callbacks in wlan driver are called with
serialization, and in wlan driver stop module and start module has
mutex of iface_change_lock, it might hit deadlock if race condition
happen of rmmod and start module, because start module might call
pld_power_on for this case.

Fix by setting unload flag earlier in __hdd_module_exit which in
different context of cnss serialized work queue, it prevents new
interface open at this point and wait for external thread complete
after it, it close race window before call wlan_hdd_pld_remove.

Change-Id: I8eb3740701070428c59f1fe3e8d2f439d9173413
CRs-Fixed: 2265691
2018-07-11 14:28:35 -07:00
..
bmi qcacld-3.0: Abstract SDIO block size 2018-06-25 04:55:52 -07:00
cds qcacld-3.0: Clean up the wlan_hdd_power API 2018-07-10 18:41:49 -07:00
dp qcacld-3.0: Fix compilation issue for legacy DP 2018-07-09 02:02:15 -07:00
hdd qcacld-3.0: Fix deadlock of rmmod and wlan start module 2018-07-11 14:28:35 -07:00
mac Release 5.2.0.88 2018-07-10 18:41:56 -07:00
pld qcacld-3.0: Update soc info by structure member 2018-06-29 07:12:34 -07:00
sap qcacld-3.0: Rename csr_roam_completeCallback 2018-07-07 10:26:07 -07:00
sme qcacld-3.0: NULL pointer dereferenced when starting 11ax SAP 2018-07-10 18:41:39 -07:00
wma qcacld-3.0: Fix peer ref-count while deleting peer as part of LFR3 2018-07-10 18:41:42 -07:00