Skip to content
Commit f9e30ed5 authored by Johan Hedberg's avatar Johan Hedberg Committed by Johan Hedberg
Browse files

shell: Fix command lookup for non-default modules



The code was completely broken wrt command lookups when the command is
given in the format "<module> <cmd> <args...>". It would only work if
the default module is not set, which is almost never the case (as most
apps set it explicitly).

Refactor the command handling by moving more logic up to shell_exec(),
so that get_cb() does a lookup for a single module

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent fe20f55d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment