mgmt: img_mgmt: fix typo in variable name

The correct variable name is 'action'

Signed-off-by: Matthias Wauer <matthiaswauer@gmail.com>
This commit is contained in:
Matthias Wauer 2022-05-15 20:17:03 +02:00 committed by Carles Cufí
parent fd87b39d80
commit ba14fc4745

View file

@ -602,7 +602,7 @@ img_mgmt_impl_upload_inspect(const struct img_mgmt_upload_req *req,
}
if (fa->fa_off != hdr->ih_load_addr) {
IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(aciton,
IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action,
img_mgmt_err_str_image_bad_flash_addr);
flash_area_close(fa);
return MGMT_ERR_EINVAL;