gsm: allow setting more than one band

This commit is contained in:
Aleksander Morgado
2011-04-29 12:31:07 +02:00
parent 573dcd51c0
commit 466b6edbf7
2 changed files with 6 additions and 16 deletions
-10
View File
@@ -496,16 +496,6 @@ impl_gsm_modem_set_band (MMModemGsmNetwork *modem,
MMModemGsmBand band,
DBusGMethodInvocation *context)
{
if (!check_for_single_value (band)) {
GError *error;
error = g_error_new_literal (MM_MODEM_ERROR, MM_MODEM_ERROR_OPERATION_NOT_SUPPORTED,
"Invalid arguments (more than one value given)");
dbus_g_method_return_error (context, error);
g_error_free (error);
return;
}
mm_modem_gsm_network_set_band (modem, band, async_call_done, context);
}