diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-01-31 22:42:48 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-01-31 22:48:57 +0100 |
commit | 9c08e54fb9d2f0b9341c2c98291551d8c9917c78 (patch) | |
tree | 4bd01c0b57072bb34e7d7622c17407fb5c40acec /src/tests | |
parent | c7ff014e07ee5bfcfa4ba7e235c1c234ad77245a (diff) |
shared-qmi: filter out modes not currently available
Do not build the mask of "all" modes based only on the supported radio
interfaces, also filter out those modes that would not be available
based on the current capabilities enabled.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test-modem-helpers-qmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test-modem-helpers-qmi.c b/src/tests/test-modem-helpers-qmi.c index 781f9d4f..f49e1e89 100644 --- a/src/tests/test-modem-helpers-qmi.c +++ b/src/tests/test-modem-helpers-qmi.c @@ -262,7 +262,7 @@ test_supported_modes_uml290_lte (void) }; ctx.multimode = TRUE; - ctx.all = MM_MODEM_MODE_2G | MM_MODEM_MODE_3G | MM_MODEM_MODE_4G; + ctx.all = MM_MODEM_MODE_4G; ctx.nas_ssp_supported = TRUE; ctx.nas_tp_supported = FALSE; ctx.current_capabilities = MM_MODEM_CAPABILITY_LTE; |