Просмотр исходного кода

qcacld-3.0: Disconnect after roam fail

Correct the condition for disconenction
after roam invoke fail.

Change-Id: Ia77a203477b440fc279e1cf9a08d327d073f32d0
CRs-Fixed: 2628455
gaurank kathpalia 5 лет назад
Родитель
Сommit
ba1d641b44
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/sme/src/csr/csr_api_roam.c

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

@@ -21451,7 +21451,7 @@ static QDF_STATUS csr_process_roam_sync_callback(struct mac_context *mac_ctx,
 		sme_debug("Roaming triggered failed source %d nud behaviour %d",
 			   vdev_roam_params->source, mac_ctx->nud_fail_behaviour);
 		if (vdev_roam_params->source == USERSPACE_INITIATED ||
-		    mac_ctx->nud_fail_behaviour == DISCONNECT_AFTER_NUD_FAIL) {
+		    mac_ctx->nud_fail_behaviour == DISCONNECT_AFTER_ROAM_FAIL) {
 			/* Userspace roam req fail, disconnect with AP */
 			csr_roam_disconnect(mac_ctx, session_id,
 					eCSR_DISCONNECT_REASON_DEAUTH,