aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-iface-modem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index dbd4b302..04c95be0 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -1512,7 +1512,8 @@ validate_bands (const GArray *supported_bands_array,
}
if (supported_bands_array->len > 1 ||
- g_array_index (supported_bands_array, MMModemBand, 0) != MM_MODEM_BAND_ANY) {
+ (g_array_index (supported_bands_array, MMModemBand, 0) != MM_MODEM_BAND_ANY &&
+ g_array_index (supported_bands_array, MMModemBand, 0) != MM_MODEM_BAND_UNKNOWN)) {
gboolean found = FALSE;
guint j;