mirror of git://git.sysmocom.de/ofono
Fix tiny copy-and-past left-over
This commit is contained in:
parent
0516900c72
commit
6cefd2e693
|
@ -20,10 +20,10 @@ for path in properties["Modems"]:
|
|||
if "org.ofono.DataConnectionManager" not in properties["Interfaces"]:
|
||||
continue
|
||||
|
||||
netreg = dbus.Interface(bus.get_object('org.ofono', path),
|
||||
connmgr = dbus.Interface(bus.get_object('org.ofono', path),
|
||||
'org.ofono.DataConnectionManager')
|
||||
|
||||
properties = netreg.GetProperties()
|
||||
properties = connmgr.GetProperties()
|
||||
|
||||
for path in properties["PrimaryContexts"]:
|
||||
context = dbus.Interface(bus.get_object('org.ofono', path),
|
||||
|
|
Loading…
Reference in New Issue