Merge lp://staging/~awe/phablet-extras/ofono-lp1204644 into lp://staging/phablet-extras/ofono
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ricardo Salveti | ||||
Approved revision: | 68 | ||||
Merged at revision: | 49 | ||||
Proposed branch: | lp://staging/~awe/phablet-extras/ofono-lp1204644 | ||||
Merge into: | lp://staging/phablet-extras/ofono | ||||
Prerequisite: | lp://staging/~awe/phablet-extras/ofono-unittest-gprs-context | ||||
Diff against target: |
110 lines (+37/-9) 2 files modified
debian/changelog (+8/-0) drivers/rilmodem/gprs.c (+29/-9) |
||||
To merge this branch: | bzr merge lp://staging/~awe/phablet-extras/ofono-lp1204644 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Salveti (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+177211@code.staging.launchpad.net |
Commit message
[rilmodem] Fixes disable GPRS bug (LP: 1204644).
Description of the change
Fix a problem with disabling GPRS ( ie. setting the ConnectionManager's 'Powered' property to 0, which happens when the networking indicator's "mobile data" toggle is set to "off". This caused a tight loop between the core ofono code and RILD which caused the CPU to max out.
I tested by disabling network manager via an upstart override file.
Next I booted the phone and used the 'enable-gprs', 'activate-context', and 'disable-gprs' scripts to reproduce the same scenario. 'list-modems' and 'list-contexts' can be used to validate that GPRS is indeed detached, and that the data context gets cleaned up properly.
PASSED: Continuous integration, rev:66 jenkins. qa.ubuntu. com/job/ phablet- extras- ofono-ci/ 63/ jenkins. qa.ubuntu. com/job/ phablet- extras- ofono-saucy- armhf-ci/ 38 jenkins. qa.ubuntu. com/job/ phablet- extras- ofono-saucy- armhf-ci/ 38/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ phablet- extras- ofono-ci/ 63/rebuild
http://