Here's the patch to to cause DATA_CALL failures:
=== modified file 'drivers/rilmodem/gprs-context.c'
--- drivers/rilmodem/gprs-context.c 2014-07-30 07:30:49 +0000
+++ drivers/rilmodem/gprs-context.c 2014-09-10 20:34:46 +0000
@@ -144,7 +144,12 @@
DBG("*gc: %p", gc);
- if (message->error != RIL_E_SUCCESS) {
+ /*
+ * TODO: it would be nice to be able to control the data-fail via
+ * a property instead of an env var
+ */
+
+ if (message->error != RIL_E_SUCCESS || getenv("OFONO_RIL_DATA_FAIL")) {
ofono_error("%s: setup data call failed for apn: %s - %s",
__func__, gcd->apn,
ril_error_to_string(message->error));
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1349273
Title:
NM does not retry opening mobile data on reboot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1349273/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs