瀏覽代碼

qcacld-3.0: Fix assigning wrong obss active/passive dwell time value

The obss active dwell time does not match with OBSS IE in association
response, it is a mistake to assign passive dwell time of OBSS IE to
active dwell time, and the passive dwell time value is from ini, not
updated to OBSS IE value.

Assign OBSS IE passive dwell time to passive dwell time parameter.

Change-Id: I5e7945353d00f0411ef3d92534c3f170dec440a5
CRs-Fixed: 2239670
Will Huang 7 年之前
父節點
當前提交
1655c228cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/mac/src/pe/lim/lim_utils.c

+ 1 - 1
core/mac/src/pe/lim/lim_utils.c

@@ -6959,7 +6959,7 @@ void lim_update_obss_scanparams(tpPESession session,
 		WNI_CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_STAMIN) &&
 		(scan_params->obssScanPassiveDwell <
 		WNI_CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_STAMAX))
-		session->obss_ht40_scanparam.obss_active_dwelltime =
+		session->obss_ht40_scanparam.obss_passive_dwelltime =
 			scan_params->obssScanPassiveDwell;
 
 	if ((scan_params->bssWidthChannelTransitionDelayFactor >