From 09d2f062c73a62bc32c21d2bcd9249c8a174fe82 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 17 Feb 2012 16:57:12 +0100 Subject: api,dbus: rename `AllowedBands' to just `Bands' ModemManager will load: 1) The list of supported bands. Note that this doesn't mean that any possible combination of bands is supported, as modems may support only specific combinations, but at least gives a rough idea of what the modem is capable of handling. 2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with modes, modems will have a specific set of bands being currently used, which will be reported in the `Bands' property. If the modem allows modifying the list of bands to use, this can be done with the `SetBands()' method. If the modem doesn't support using a specific combination of bands, this method will report an error. --- libmm-glib/mm-modem-simple-connect-properties.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libmm-glib/mm-modem-simple-connect-properties.c') diff --git a/libmm-glib/mm-modem-simple-connect-properties.c b/libmm-glib/mm-modem-simple-connect-properties.c index 5a48c958..ce5ddafb 100644 --- a/libmm-glib/mm-modem-simple-connect-properties.c +++ b/libmm-glib/mm-modem-simple-connect-properties.c @@ -34,13 +34,13 @@ mm_modem_simple_connect_properties_set_operator_id (MMModemSimpleConnectProperti } void -mm_modem_simple_connect_properties_set_allowed_bands (MMModemSimpleConnectProperties *self, - const MMModemBand *bands, - guint n_bands) +mm_modem_simple_connect_properties_set_bands (MMModemSimpleConnectProperties *self, + const MMModemBand *bands, + guint n_bands) { g_return_if_fail (MM_IS_MODEM_SIMPLE_CONNECT_PROPERTIES (self)); - mm_common_connect_properties_set_allowed_bands (self, bands, n_bands); + mm_common_connect_properties_set_bands (self, bands, n_bands); } void -- cgit v1.2.3-70-g09d2