From 85adf518ac701731f7dcf5bf49a2591b385573f4 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Wed, 3 Jun 2026 23:04:24 +0200 Subject: [PATCH] shortcuts: go to WPS for ACTION_TREE_WPS Change-Id: Ieab19f90d9cf13b19ce7fe108f3ecb734af1fde0 --- apps/shortcuts.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/shortcuts.c b/apps/shortcuts.c index ab32cd14f7..257b2be9c3 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c @@ -744,9 +744,13 @@ int do_shortcut_menu(void *ignored) if (simplelist_show_list(&list)) break; /* returning from USB screen */ - if (list.selection == -1) break; /* canceled */ + if (list.selection == -2) + { + done = GO_TO_WPS; + break; + } sc = get_shortcut(list.selection, NULL); if (!sc)