mirror of git://git.sysmocom.de/ofono
qmimodem: set APN for LTE default bearer
Apparently, an empty APN in an ofono context means that that the context cannot be activated. connman definitely interprets it this way. This patch sets a default name of "automatic" for the default bearer if no other LTE APN is supplied (which is currently the case as the LTE atom is not in place yet). Without this, connman happily ignores the context, even though it has been activated by ofono.
This commit is contained in:
parent
4651a70285
commit
f23ea6b45f
|
@ -83,7 +83,7 @@ static int handle_ss_info(struct qmi_result *result, struct ofono_gprs *gprs)
|
|||
/* FIXME: query default profile number and APN
|
||||
* instead of assuming profile 1 and ""
|
||||
*/
|
||||
ofono_gprs_cid_activated(gprs, 1 , "");
|
||||
ofono_gprs_cid_activated(gprs, 1 , "automatic");
|
||||
}
|
||||
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue