diff options
Diffstat (limited to 'src/modem.c')
-rw-r--r-- | src/modem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modem.c b/src/modem.c index 79cea793..95e60939 100644 --- a/src/modem.c +++ b/src/modem.c @@ -1659,7 +1659,8 @@ static int set_modem_property(struct ofono_modem *modem, const char *name, DBG("modem %p property %s", modem, name); if (type != PROPERTY_TYPE_STRING && - type != PROPERTY_TYPE_INTEGER) + type != PROPERTY_TYPE_INTEGER && + type != PROPERTY_TYPE_BOOLEAN) return -EINVAL; property = g_try_new0(struct modem_property, 1); |