Преглед изворни кода

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 >