Hi Daniel,

+static int cm_set_roaming_allowed(struct modem_data *modem)
+{
+       dbus_bool_t roaming_allowed;
+
+       DBG("%s", modem->path);
+
+       roaming_allowed = TRUE;
+
+       return set_property(modem, modem->path,
+                               OFONO_CM_INTERFACE,
+                               "RoamingAllowed", DBUS_TYPE_BOOLEAN,
+                               &roaming_allowed,
+                               NULL);
+}
+
why not instead, having only one function named like the one above but following this signature: static int cm_set_roaming_allowed(struct modem_data *modem, dbus_bool_t roaming_allowed)

But as you said in irc, might not be relevant to expose such setting change in connman.

Tomasz
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to