Skip to contentSkip to conversation

atmodem: CGDCONT handling for cid 0

PATCH New Antara Borwankar 1 participant 1 message Sep 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmodem: CGDCONT handling for cid 0

Added handling for cid 0 in +CGDCONT callback.

---
 drivers/atmodem/gprs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/atmodem/gprs.c +1 -1
index 16f4927..b637f73 100644
@@ -240,7 +240,7 @@ static void at_cgdcont_read_cb(gboolean ok, GAtResult *result,
 		return;
 	}
 
-	cids = l_uintset_new(activated_cid);
+	cids = l_uintset_new_from_range(0, activated_cid);
 
 	l_uintset_put(cids, activated_cid);
 
Signature · 1 line
1.9.1