mgmt: ec_host_cmd: fix checking number of backends
If autoinit is not enebled, it is allowed to build a few backends and
initialize a proper one in runtime.
Check number of backends only if autoinit is enabled.
Signed-off-by:
Dawid Niedzwiecki <dawidn@google.com>
Loading
Please sign in to comment