qcacld-3.0: Cleanup sta_index in TDLS structures and APIs

Remove sta index references in TDLS structures and APIs
and mac address would be used instead to refer the peer.

Change-Id: I861f7ce068f3f545598129b9f3955b84b2a6fbce
CRs-Fixed: 2524512
This commit is contained in:
Yeshwanth Sriram Guntuka
2019-07-16 15:47:21 +05:30
committed by nshrivas
父節點 d2a2291473
當前提交 4ac1584527
共有 18 個文件被更改,包括 74 次插入107 次删除

查看文件

@@ -340,7 +340,7 @@ QDF_STATUS ucfg_tdls_update_config(struct wlan_objmgr_psoc *psoc,
soc_obj->max_num_tdls_sta = WLAN_TDLS_STA_MAX_NUM;
for (sta_idx = 0; sta_idx < soc_obj->max_num_tdls_sta; sta_idx++) {
soc_obj->tdls_conn_info[sta_idx].sta_id = INVALID_TDLS_PEER_ID;
soc_obj->tdls_conn_info[sta_idx].valid_entry = false;
soc_obj->tdls_conn_info[sta_idx].index =
INVALID_TDLS_PEER_INDEX;
soc_obj->tdls_conn_info[sta_idx].session_id = 255;