diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2024-04-04 08:46:01 +0000 |
---|---|---|
committer | Dan Williams <dan@bigw.org> | 2024-04-12 01:17:14 +0000 |
commit | 98b99bdafbaf916b233f68e3636e52923f01ad70 (patch) | |
tree | 5489bdbc3c856077e9f21e672909cdae8978857a /src | |
parent | 469d310397ea62953f3f7c84526c2f25eda363fe (diff) |
fibocom: always report primary port in the firmware interface
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/fibocom/mm-shared-fibocom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fibocom/mm-shared-fibocom.c b/src/plugins/fibocom/mm-shared-fibocom.c index 00123567..8c8a01b5 100644 --- a/src/plugins/fibocom/mm-shared-fibocom.c +++ b/src/plugins/fibocom/mm-shared-fibocom.c @@ -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); |