diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-08-21 14:31:10 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-07 10:55:17 +0200 |
commit | d135c56f0f1bb82f0a5e886c10932b18de149c4f (patch) | |
tree | 561fabcb8bad7b8def2fe9947b83f585c1527860 | |
parent | aae7105743765cec6ddc7c4402d296276a8b86e6 (diff) |
huawei: update frequency bands support
Updated to use the non-deprecated MMModemBand values.
-rw-r--r-- | plugins/huawei/mm-broadband-modem-huawei.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/huawei/mm-broadband-modem-huawei.c b/plugins/huawei/mm-broadband-modem-huawei.c index 9676a2a5..1b5ecf6e 100644 --- a/plugins/huawei/mm-broadband-modem-huawei.c +++ b/plugins/huawei/mm-broadband-modem-huawei.c @@ -757,12 +757,12 @@ typedef struct { static BandTable bands[] = { /* Sort 3G first since it's preferred */ - { MM_MODEM_BAND_U2100, 0x00400000 }, - { MM_MODEM_BAND_U1900, 0x00800000 }, - { MM_MODEM_BAND_U850, 0x04000000 }, - { MM_MODEM_BAND_U900, 0x00020000 }, - { MM_MODEM_BAND_G850, 0x00080000 }, + { MM_MODEM_BAND_UTRAN_1, 0x00400000 }, + { MM_MODEM_BAND_UTRAN_2, 0x00800000 }, + { MM_MODEM_BAND_UTRAN_5, 0x04000000 }, + { MM_MODEM_BAND_UTRAN_8, 0x00020000 }, /* 2G second */ + { MM_MODEM_BAND_G850, 0x00080000 }, { MM_MODEM_BAND_DCS, 0x00000080 }, { MM_MODEM_BAND_EGSM, 0x00000100 }, { MM_MODEM_BAND_PCS, 0x00200000 } |