ofono: Check for CM attached before registering network
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 7 May 2012 13:22:59 +0000 (15:22 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 8 May 2012 09:19:13 +0000 (12:19 +0300)
commit71048173767883f6c9d4468f98378c654419f780
tree12da0758d288c2c9b38e864ca5651c07400b3ccd
parent60344509b64f477df0449e5cf942aecf1067fee4
ofono: Check for CM attached before registering network

We need to check the ConnectionManager attached signal before
we are allowed to connect to the gprs context:

connmand[592]: plugins/ofono.c:cm_update_attached() /zte_0 Attached 0

[...]

connmand[592]: plugins/ofono.c:context_set_active() /zte_0 active 1
connmand[592]: plugins/ofono.c:set_property() /zte_0 path /zte_0/context1
org.ofono.ConnectionContext.Active

[...]

connmand[592]: plugins/ofono.c:cm_update_attached() /zte_0 Attached 1

Fixes BMC#25112
plugins/ofono.c