From 87bed48974b998e86ab9f2632afd1bca472eaceb Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 13 Dec 2018 16:00:58 +0100 Subject: [PATCH] devices,bluetooth: fix default CDMA number setting https://github.com/NetworkManager/NetworkManager/pull/260 Fixes: 215306f5a1e4dc38ec02a484c31470bb048d668b --- src/devices/bluetooth/nm-device-bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/bluetooth/nm-device-bt.c b/src/devices/bluetooth/nm-device-bt.c index b05c569beb..f753f7347b 100644 --- a/src/devices/bluetooth/nm-device-bt.c +++ b/src/devices/bluetooth/nm-device-bt.c @@ -325,7 +325,7 @@ complete_connection (NMDevice *device, } else { fallback_prefix = _("CDMA connection"); if (!nm_setting_cdma_get_number (s_cdma)) - g_object_set (G_OBJECT (s_cdma), NM_SETTING_GSM_NUMBER, "#777", NULL); + g_object_set (G_OBJECT (s_cdma), NM_SETTING_CDMA_NUMBER, "#777", NULL); } } else { g_set_error_literal (error,