From: Forest Bond <[email protected]>

---
 src/modem.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/modem.c b/src/modem.c
index 3c7c80a..0f12f5a 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);
-- 
1.7.0.4
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to