fibocom: always report primary port in the firmware interface
This commit is contained in:
committed by
Dan Williams
parent
469d310397
commit
98b99bdafb
@@ -365,7 +365,8 @@ mm_shared_fibocom_firmware_load_update_settings (MMIfaceModemFirmware *self,
|
||||
|
||||
task = g_task_new (self, NULL, callback, user_data);
|
||||
|
||||
at_port = mm_base_modem_peek_best_at_port (MM_BASE_MODEM (self), NULL);
|
||||
/* We always report the primary port as the one to be used for FW upgrade */
|
||||
at_port = mm_base_modem_peek_port_primary (MM_BASE_MODEM (self));
|
||||
if (at_port) {
|
||||
update_methods = fibocom_get_firmware_update_methods (MM_BASE_MODEM (self), MM_PORT (at_port));
|
||||
update_settings = mm_firmware_update_settings_new (update_methods);
|
||||
|
||||
Reference in New Issue
Block a user