mobile: don't fail in old MM code when using deprecated functions
We want to keep using these deprecated functions when talking to the old ModemManager to ensure behavior is unchanged.
This commit is contained in:
@@ -1045,7 +1045,9 @@ static char *
|
||||
nmc_property_gsm_get_allowed_bands (NMSetting *setting)
|
||||
{
|
||||
NMSettingGsm *s_gsm = NM_SETTING_GSM (setting);
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
return allowed_bands_to_string (nm_setting_gsm_get_allowed_bands (s_gsm));
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
}
|
||||
|
||||
DEFINE_GETTER (nmc_property_gsm_get_pin, NM_SETTING_GSM_PIN)
|
||||
|
Reference in New Issue
Block a user