android_kernel_xiaomi_sm8350/core/cds
Arunk Khandavalli cfe32d1cd7 qcacld-3.0: Validate if tlds is enabled before setting connection tracker
In the present scenario driver checks for  eTDLS_SUPPORT_DISABLED
before enabling the connection tracker for tdls mode. But if the
tdls is disabled from the ini or disabled in the firmware eTDLS_SUPPORT_NOT_ENABLED
is set in the tdls_mode. Checking for only eTDLS_SUPPORT_DISABLED is resulting
in enabling the connection tracker which tries to access the tdls_ctx
which is NULL.

To mitigate the issue also check for eTDLS_SUPPORT_NOT_ENABLED in the tdls_mode
before enabling the connection tracker.

CRs-Fixed: 1096830
Change-Id: I1e13af6b63aa058c19117efa99563540aa02da0b
2017-01-11 09:06:15 -08:00
..
inc qcacld-3.0: Relocate and rename cds_flush_cache_rx_queue() 2017-01-10 23:08:47 -08:00
src qcacld-3.0: Validate if tlds is enabled before setting connection tracker 2017-01-11 09:06:15 -08:00