Skip to contentSkip to conversation

atmodem/sms: change vendor CINTERION in GEMALTO

PATCH In review Giacinto Cifelli 2 participants 3 messages Sep 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmodem/sms: change vendor CINTERION in GEMALTO

---
 drivers/atmodem/sms.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/atmodem/sms.c +3 -3
index fb4d67ae..64169086 100644
@@ -329,7 +329,7 @@ static inline void at_ack_delivery(struct ofono_sms *sms)
 	/* We must acknowledge the PDU using CNMA */
 	if (data->cnma_ack_pdu) {
 		switch (data->vendor) {
-		case OFONO_VENDOR_CINTERION:
+		case OFONO_VENDOR_GEMALTO:
 			snprintf(buf, sizeof(buf), "AT+CNMA=1");
 			break;
 		default:
@@ -411,10 +411,10 @@ static void at_cmt_notify(GAtResult *result, gpointer user_data)
 		goto err;
 
 	switch (data->vendor) {
-	case OFONO_VENDOR_CINTERION:
+	case OFONO_VENDOR_GEMALTO:
 		if (!g_at_result_iter_next_number(&iter, &tpdu_len)) {
 			/*
-			 * Some cinterions modems (ALS3,PLS8...), act in
+			 * Some Gemalto modems (ALS3,PLS8...), act in
 			 * accordance with 3GPP 27.005.  So we need to skip
 			 * the first (<alpha>) field
 			 *  \r\n+CMT: ,23\r\nCAFECAFECAFE... ...\r\n
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 gemalto plugin: sms vendor to GEMALTO

changed from CINTERION.
Note that the cinterion plugin itself does not use the specific vendor for the sms atom.

---
 plugins/gemalto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
plugins/gemalto.c +1 -1
index 6e0d765b..0fcf30d8 100644
@@ -589,7 +589,7 @@ static void gemalto_post_sim(struct ofono_modem *modem)
 
 	ofono_phonebook_create(modem, 0, "atmodem", data->app);
 
-	ofono_sms_create(modem, OFONO_VENDOR_CINTERION, "atmodem", data->app);
+	ofono_sms_create(modem, OFONO_VENDOR_GEMALTO, "atmodem", data->app);
 
 	gprs = ofono_gprs_create(modem, 0, "atmodem", data->app);
 	gc = ofono_gprs_context_create(modem, 0, "atmodem", data->mdm);
Signature · 1 line
2.17.1