qdl: Propagate the success of decode_sahara_config()

Commit '44e7be00aca0 ("sahara: Drop "single image" concept")' cleaned up
the handling of programmer selection, but in the new flow failed to
propagate the successful decoding of the sahara_config.

Fixes: 44e7be00ac ("sahara: Drop "single image" concept")
Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
This commit is contained in:
Bjorn Andersson
2026-02-04 12:30:34 -06:00
committed by Bjorn Andersson
parent f60f2bde70
commit 7fd466c95e

2
qdl.c
View File

@@ -400,7 +400,7 @@ static int decode_programmer(char *s, struct sahara_image *images)
ret = decode_sahara_config(&archive, images);
if (ret < 0 || ret == 1)
return -1;
return ret;
images[SAHARA_ID_EHOSTDL_IMG] = archive;
}