Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 885d6b86 authored by Manoj Prabhu B's avatar Manoj Prabhu B Committed by Lakshay Verma
Browse files

diag: Continue through the loop if condition fails for a proc



Exiting the loop for do_switch condition fail for a single proc
should not prevent the switch for other procs. Continue looping
through to update the mode switch for other procs.

Change-Id: Iba154ec7425bdcd7645659d03a4cc884bdd88331
Signed-off-by: default avatarLakshay Verma <laksverm@codeaurora.org>
parent bdd6da44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1968,7 +1968,7 @@ static int diag_switch_logging(struct diag_logging_mode_param_t *param)
				DIAG_LOG(DIAG_DEBUG_USERSPACE,
					 "not switching modes c: %d n: %d\n",
					curr_mode, new_mode);
				return 0;
				continue;
			}

			diag_ws_reset(DIAG_WS_MUX);