shell: fix assert in wildcard plugin
Fixing a variable name in assert check in a function subcmd_get.
Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
diff --git a/subsys/shell/shell_wildcard.c b/subsys/shell/shell_wildcard.c
index e8667b6..b77d963 100644
--- a/subsys/shell/shell_wildcard.c
+++ b/subsys/shell/shell_wildcard.c
@@ -14,7 +14,7 @@
struct shell_static_entry *d_entry)
{
__ASSERT_NO_MSG(entry != NULL);
- __ASSERT_NO_MSG(st_entry != NULL);
+ __ASSERT_NO_MSG(d_entry != NULL);
if (cmd == NULL) {
*entry = NULL;