diff --git a/src/lib/fw_config.c b/src/lib/fw_config.c index 2c4c6b290c..7412f383e1 100644 --- a/src/lib/fw_config.c +++ b/src/lib/fw_config.c @@ -50,6 +50,10 @@ uint64_t fw_config_get(void) bool fw_config_probe(const struct fw_config *match) { + /* If fw_config is not provisioned, then there is nothing to match. */ + if (!fw_config_is_provisioned()) + return false; + /* Compare to system value. */ if ((fw_config_get() & match->mask) == match->value) { if (match->field_name && match->option_name)