ソースを参照

qcacld-3.0: Decrement connection count when reassoc to the same bssid

In LFR2.0, number of connection count isn't decremented when reassoc
to the same bssid, it will cause connection count wrongly calculated.
Need to decrement this count in such roaming scenario.

Change-Id: I849bd6a469567df737b3565555b950a501850ae0
CRs-Fixed: 2961292
Huashan Qu 3 年 前
コミット
4974b6676c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      core/sme/src/csr/csr_api_roam.c

+ 1 - 1
core/sme/src/csr/csr_api_roam.c

@@ -4498,7 +4498,7 @@ csr_roam_trigger_reassociate(struct mac_context *mac_ctx, tSmeCmd *cmd,
 					eCsrRoamReasonStaCapabilityChanged;
 			csr_roam_call_callback(mac_ctx, session_ptr->sessionId,
 					roam_info, 0, eCSR_ROAM_ROAMING_START,
-					eCSR_ROAM_RESULT_NONE);
+					eCSR_ROAM_RESULT_NOT_ASSOCIATED);
 			session_ptr->roamingReason = eCsrReassocRoaming;
 			roam_info->bss_desc = session_ptr->pConnectBssDesc;
 			roam_info->pProfile = &cmd->u.roamCmd.roamProfile;