Skip to contentSkip to conversation

atmodem/sms: added missing return in at_cmt_notify before error processing

PATCH In review Giacinto Cifelli 2 participants 2 messages Sep 20, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmodem/sms: added missing return in at_cmt_notify before error processing

---
 drivers/atmodem/sms.c | 1 +
 1 file changed, 1 insertion(+)
drivers/atmodem/sms.c +1 -0
index 7e78fcf..fb4d67a 100644
@@ -455,6 +455,7 @@ static void at_cmt_notify(GAtResult *result, gpointer user_data)
 
 	if (data->vendor != OFONO_VENDOR_SIMCOM)
 		at_ack_delivery(sms);
+	return;
 
 err:
 	ofono_error("Unable to parse CMT notification");
Signature · 1 line
1.9.1
#1 lore raw

Hi Giacinto,

Quoted 4 lines · Giacinto Cifelli
---
  drivers/atmodem/sms.c | 1 +
  1 file changed, 1 insertion(+)

Applied after tweaking the commit description.

Regards,
-Denis