qcacld-3.0: Fix tdls idle peers data override

As part of connection tracker handler, If the link is connected
then current tx and rx stats are compared with configured threshold
values. If the current stats fall below the threshold then idle timer
is initialized and idle peer data is stored in tdls soc and given as
userdata to the timer handler. The userdata is overwritten if the another
tdls peer becomes idle and this can lead to wrong tdls peer teardown.

Change-Id: I34638bdebe02e17e1c9e117e58352bdaab867921
CRs-Fixed: 2393320
This commit is contained in:
Bala Venkatesh
2019-02-04 19:52:27 +05:30
کامیت شده توسط nshrivas
والد 487eae9c90
کامیت 03dd9178ab
6فایلهای تغییر یافته به همراه34 افزوده شده و 33 حذف شده

مشاهده پرونده

@@ -79,6 +79,8 @@ struct wlan_objmgr_psoc;
#define TDLS_TEARDOWN_PEER_UNSPEC_REASON 26
#define INVALID_TDLS_PEER_ID 0xFF
#define INVALID_TDLS_PEER_INDEX 0xFF
#define TDLS_STA_INDEX_CHECK(sta_id) \
(((sta_id) >= 0) && ((sta_id) < 0xFF))