NetworkManager/src/devices/wwan
Thomas Haller ae500e4ee0 wwan: refactor nm_modem_ip_type_to_string() and fix return type
The statement
    g_return_val_if_reached (NM_MODEM_IP_TYPE_UNKNOWN);
was wrong, because the return type is 'const char *'.

But just refactor nm_modem_ip_type_to_string() to get rid of
the static table and make it a switch statement.

Fixes: 02beeeeb12

(cherry picked from commit 5599a82d0d)
2015-03-05 12:55:04 +01:00
..
exports.ver core: move device factory type function into factory object 2014-09-11 12:47:23 -05:00
Makefile.am libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nm-device-modem.c wwan: indentation & alignment fixes 2015-02-24 16:15:27 -06:00
nm-device-modem.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-modem-broadband.c wwan: indentation & alignment fixes 2015-02-24 16:15:27 -06:00
nm-modem-broadband.h all: remove a bunch of unnecessary dbus/dbus-glib includes 2014-09-03 10:45:24 -04:00
nm-modem-manager.c wwan: trivial: simplify variable names to not explicitly clarify MM 1.0 2014-06-26 12:53:33 -04:00
nm-modem-manager.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-modem.c wwan: refactor nm_modem_ip_type_to_string() and fix return type 2015-03-05 12:55:04 +01:00
nm-modem.h wwan: new retry logic when ipv4=auto and ipv6=auto 2015-02-24 16:15:27 -06:00
nm-wwan-factory.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-wwan-factory.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
wwan-exports.ver wwan: wait for pppd to exit before relaying the port to ModemManager 2015-02-24 16:15:26 -06:00