ofono read_contexts code needs some re-work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Tony Espy | ||
network-manager (Ubuntu RTM) |
Fix Released
|
High
|
Tony Espy |
Bug Description
This bug is bring reported as of network-manager version 0.9.10.0-4ubuntu13 ( latest in vivid at bug filing time ).
The code in src/devices/
Currently, the function ofono_read_
This function in turn, synchronously reads ( with a 2s timeout ) the ConnectionManager's 'SubscriberIden
This could be optimized by instead having NM read the IMSI whenever the ConnectionManager's 'Powered' property is set, caching the value, and watching for changes to the 'SubscriberIden
Also it's curious that the contexts aren't re-read when a 'ContextRemoved' signal is received.
Related branches
- Mathieu Trudel-Lapierre: Approve
-
Diff: 762 lines (+301/-188)6 files modifieddebian/changelog (+7/-0)
debian/patches/0001-wwan-add-support-for-using-oFono-as-a-modem-manager.patch (+215/-183)
debian/patches/lp1445080-modify-device-modem-avail.patch (+44/-0)
debian/patches/lp1445080-nm-modem-check-for-set-mm-enabled-func.patch (+28/-0)
debian/patches/lp1461593-add-modem-reconnect-delay-to-policy.patch (+5/-5)
debian/patches/series (+2/-0)
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Tony Espy (awe) |
importance: | Undecided → High |
Changed in network-manager (Ubuntu): | |
status: | New → In Progress |
Changed in network-manager (Ubuntu RTM): | |
assignee: | nobody → Tony Espy (awe) |
importance: | Undecided → High |
This change was released to the vivid stable overlay PPA for touch as version:
0.9.10. 0-4ubuntu15. 1.3
..as such marked as FixReleased for Ubuntu RTM task.