From a5e684c894cd9e1cb20f4afffe0502d15a9e5550 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 18 Mar 2022 19:45:01 -0400 Subject: [PATCH] BUGFIX root_menu.c Change-Id: Ie6268c63f5ed5197d2da678851b4bfdf7764252c --- apps/root_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/root_menu.c b/apps/root_menu.c index c10064499c..80a84d9d49 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -735,10 +735,10 @@ static int load_plugin_screen(char *key) continue; else { + ret_val = GO_TO_PREVIOUS; /* Prevents infinite loop with WPS, Plugins, Previous Screen*/ if (ret == PLUGIN_OK && old_global == GO_TO_WPS && !audio_status()) ret_val = GO_TO_ROOT; - ret_val = GO_TO_PREVIOUS; last_screen = (old_previous == next_screen || old_global == GO_TO_ROOT) ? GO_TO_ROOT : old_previous; if (last_screen == GO_TO_ROOT)