Merge lp:~awe/phablet-extras/ofono-lp1204683 into lp:phablet-extras/ofono
Status: | Merged |
---|---|
Approved by: | Ricardo Salveti |
Approved revision: | 53 |
Merged at revision: | 51 |
Proposed branch: | lp:~awe/phablet-extras/ofono-lp1204683 |
Merge into: | lp:phablet-extras/ofono |
Diff against target: |
66 lines (+32/-8) 2 files modified
debian/changelog (+7/-0) plugins/provision.c (+25/-8) |
To merge this branch: | bzr merge lp:~awe/phablet-extras/ofono-lp1204683 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Salveti (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+178137@code.launchpad.net |
Commit message
[provision] If multiple APNs are found for a SPN/mmc/mnc search, only provision the first.
Description of the change
This fix causes the provisioning plugin to only create a data context for the first APN found in mbpi.
This is a temporary solution to prevent network-manager from creating and trying multiple contexts when only one of them is needed.
Note, this might break auto-provisioning for some people if the first APN found is not the correct APN, however the true fix is to switch to a better source of APNs.
To test, you need first need to ensure that your operator has more than one APN defined in /usr/share/
Now, stop ofono and NM, edit the gprs settings file ( /var/lib/
PASSED: Continuous integration, rev:52 jenkins. qa.ubuntu. com/job/ phablet- extras- ofono-ci/ 69/ jenkins. qa.ubuntu. com/job/ phablet- extras- ofono-saucy- armhf-ci/ 44 jenkins. qa.ubuntu. com/job/ phablet- extras- ofono-saucy- armhf-ci/ 44/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/ 69/rebuild
http://