Updated to use the non-deprecated MMModemBand values.
---
 plugins/huawei/mm-broadband-modem-huawei.c | 10 +++++-----
 1 file 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 }
-- 
2.14.1

_______________________________________________
ModemManager-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to