NetworkManager/src/devices/wwan
Thomas Haller 03dc759026
modem: suppress deprecated warning from libmm for MM_MODEM_CAPABILITY_LTE_ADVANCED
On Ubuntu 20.10, we build against ModemManager 1.14.0 and get a compiler warning:

  ../src/devices/wwan/nm-modem-broadband.c: In function 'try_create_connect_properties':
  ../src/devices/wwan/nm-modem-broadband.c:492:2: error: 'MMModemCapabilityDeprecated' is deprecated [-Werror=deprecated-declarations]
    492 |  if (MODEM_CAPS_3GPP (ctx->caps)) {
        |  ^~

Suppress it.

An alternative would be to drop the flag entirely. It seems the flag
was never used (and never will be used). But if that's true, there is
little harm done checking it. If it's not true, we better keep checking
for older versions.

0cd76bf1c4
2020-06-30 18:00:33 +02:00
..
tests meson: Remove devices tests' meson build files 2019-10-01 09:49:33 +02:00
libnm-wwan.ver wwan: add nm_modem_manager_get_modems() to iterate over modems 2019-09-22 16:05:50 +02:00
meson.build license: Add license using SPDX identifiers to meson build files 2020-02-17 13:16:57 +01:00
nm-device-modem.c nm-device-modem: deactivate device when modem unlocked 2020-03-27 11:01:41 +01:00
nm-device-modem.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-modem-broadband.c modem: suppress deprecated warning from libmm for MM_MODEM_CAPABILITY_LTE_ADVANCED 2020-06-30 18:00:33 +02:00
nm-modem-broadband.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-modem-manager.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-modem-manager.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-modem-ofono.c shared: add nm_utils_invoke_on_timeout() 2020-04-24 19:36:53 +02:00
nm-modem-ofono.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-modem.c nm-modem: don't fail if secrets request times out 2020-03-27 11:01:41 +01:00
nm-modem.h device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02:00
nm-service-providers.c all: use nm_clear_g_free() instead of g_clear_pointer() 2020-03-23 11:05:34 +01:00
nm-service-providers.h wwan: add service-providers.xml parser 2019-09-11 14:32:05 +02:00
nm-wwan-factory.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00