Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: modem: hl7800: fix file open in fw update #28766

Merged
merged 2 commits into from
Oct 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/modem/hl7800.c
Original file line number Diff line number Diff line change
Expand Up @@ -4670,7 +4670,7 @@ int32_t mdm_hl7800_update_fw(char *file_path)
goto err;
}

ret = fs_open(&ictx.fw_update_file, file_path);
ret = fs_open(&ictx.fw_update_file, file_path, FS_O_READ);
if (ret < 0) {
LOG_ERR("%s open err: %d", log_strdup(file_path), ret);
goto err;
Expand Down