ofono: Handle add/remove of API separatly
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 21 Dec 2011 13:06:15 +0000 (14:06 +0100)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 22 Dec 2011 10:10:15 +0000 (11:10 +0100)
commitc444ef294e46ce96f5120d6ed8b9429ace095cce
tree365d65ad3bd3f15a7fdc48bd9d0d7b342406350d
parent6726eb11c18d84d3e473af7b37648e2daf94fc0c
ofono: Handle add/remove of API separatly

Simplify the way the interface apperance and disapperance are
handled and write them explicitly out. This is not extremly fast
or elegant but it is much more readable and maintainable.

Also unregister the network object when the modem goes offline.

Fixes BMC#24432
plugins/ofono.c