touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #16667
[Bug 1349273] Re: NM does not retry opening mobile data on reboot
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
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1349273
Title:
NM does not retry opening mobile data on reboot
Status in “network-manager” package in Ubuntu:
Incomplete
Bug description:
In case NM has failed to open any mobile data context, it will not re-
try when rebooting the phone.
This happened with a pre-paid SIM with no credit: opening a data
context for it obviously failed. After adding credit to the SIM, I
followed the instructions from the operator to reboot the phone to get
data. However, after rebooting I had no mobile data. Taking a look to
system settings, cellular data was set to "Off" and I was able to
revert the situation marking the "2G/3G/4G" option. Make NM retry the
list of contexts in case no context was ever active on previous boot
would make life easier for the user.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1349273/+subscriptions
References