aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-simple-connect-properties.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-17 16:57:12 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:28:13 +0100
commit09d2f062c73a62bc32c21d2bcd9249c8a174fe82 (patch)
treefa3bfab24497997fe3ded9dbc92dd04afd8f50b3 /libmm-glib/mm-modem-simple-connect-properties.c
parent76e52236a44d87bc7aacb141b956146ab67d66eb (diff)
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.
Diffstat (limited to 'libmm-glib/mm-modem-simple-connect-properties.c')
-rw-r--r--libmm-glib/mm-modem-simple-connect-properties.c8
1 files changed, 4 insertions, 4 deletions
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