ofono: Set network group when adding the network
authorMohamed Abbas <mabbas@linux.intel.com>
Mon, 22 Nov 2010 20:37:53 +0000 (12:37 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 23 Nov 2010 00:15:50 +0000 (01:15 +0100)
commit0dca8e04b91eed41c0dc77bc63145f1682546b11
tree1bace6bb7d1e787fc554536105a4b1b3eaef7ec7
parent8ada288bd6250fb4dd724b0208e66f9013ca3c34
ofono: Set network group when adding the network

The network probing code path already calls profile_add_network, calling
it again from the oFono network probing hook leads to wrong reference
counting.

Fixes BMC#9985
plugins/ofono.c