qcacld-3.0: Replace WLAN_ALL_SESSIONS_DIALOG_ID with TWT_ALL_SESSIONS_DIALOG_ID
There are duplicate macros for the same purpose, hence replace WLAN_ALL_SESSIONS_DIALOG_ID with TWT_ALL_SESSIONS_DIALOG_ID. Change-Id: I63130869eed8dffcce85fe6a04586592ab3eaca2 CRs-Fixed: 3047686
这个提交包含在:
@@ -80,8 +80,6 @@ enum wlan_twt_session_state {
|
||||
WLAN_TWT_SETUP_STATE_SUSPEND = 2,
|
||||
};
|
||||
|
||||
#define WLAN_ALL_SESSIONS_DIALOG_ID 255
|
||||
|
||||
#ifdef WLAN_SUPPORT_TWT
|
||||
#define WLAN_MAX_TWT_SESSIONS_PER_PEER 1
|
||||
|
||||
|
@@ -278,7 +278,7 @@ ucfg_mlme_is_twt_setup_in_progress(struct wlan_objmgr_psoc *psoc,
|
||||
*
|
||||
* Check if the number of active TWT sessions is equal to the maximum number
|
||||
* of TWT sessions supported. Only count the TWT session slot if it not
|
||||
* WLAN_ALL_SESSIONS_DIALOG_ID and dialog id is different from input dialog_id,
|
||||
* TWT_ALL_SESSIONS_DIALOG_ID and dialog id is different from input dialog_id,
|
||||
* because if same dialog_id already exists in the TWT sessions, we should
|
||||
* return false since re-negotiation is supported on existing dialog_id.
|
||||
*
|
||||
|
在新工单中引用
屏蔽一个用户