Add a vendor quirk to avoid an error being returned when setting up sms
notification for Quectel UC15 modems.
---
drivers/atmodem/sms.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/atmodem/sms.c b/drivers/atmodem/sms.c
index 442cfc58..d502da72 100644
--- a/drivers/atmodem/sms.c
+++ b/drivers/atmodem/sms.c
@@ -844,6 +844,7 @@ static gboolean build_cnmi_string(char *buf, int *cnmi_opts,
case OFONO_VENDOR_HUAWEI:
case OFONO_VENDOR_ZTE:
case OFONO_VENDOR_SIMCOM:
+ case OFONO_VENDOR_QUECTEL:
/* MSM devices advertise support for mode 2, but return an
* error if we attempt to actually use it. */
mode = "1";
--
2.23.0
___
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono