modem: hl7800: wake before firmware update

Ensure the HL7800 is awake before starting a firmware update.

Signed-off-by: Ryan Erickson <ryan.erickson@ezurio.com>
This commit is contained in:
Ryan Erickson 2024-06-12 12:05:02 -05:00 committed by Benjamin Cabé
parent 5d27c9b298
commit c73e164ed5

View file

@ -6307,6 +6307,8 @@ int32_t mdm_hl7800_update_fw(char *file_path)
goto err;
}
wakeup_hl7800();
/* turn on device service indications */
ret = send_at_cmd(NULL, "AT+WDSI=2", MDM_CMD_SEND_TIMEOUT, 0, false);
if (ret < 0) {