On huawei E3372, context id can be 0:
AT+CGDCONT=?
+CGDCONT: (0-31),"IP",,,(0-2),(0-3),(0,1),(0,1),(0-2),(0,1)
+CGDCONT: (0-31),"IPV6",,,(0-2),(0-3),(0,1),(0,1),(0-2),(0,1)
+CGDCONT: (0-31),"IPV4V6",,,(0-2),(0-3),(0,1),(0,1),(0-2),(0,1)
+CGDCONT: (0-31),"PPP",,,(0-2),(0-3),(0,1),(0,1),(0-2),(0,1)
OK
During first time activation, gprs_cid_alloc (and idmap_alloc)
will return 0 as context id. This is not an error.
Christophe Ronco (1):
gprs: fix error check of gprs_cid_alloc function
src/gprs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.11.0