Create service ipconfig only when it's NULL
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 25 Jun 2010 12:56:05 +0000 (14:56 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 25 Jun 2010 12:56:05 +0000 (14:56 +0200)
commit47cd3d91cb069be8cbd6b1e72d6b33cab01e3b13
tree464f43dd3486bc968e6d5d26a3b593b8389e345e
parentc6edc0442806a1de5e2f72eac86b22f530250fbc
Create service ipconfig only when it's NULL

If a service already has an allocated ipconfig layer but the corresponding
network index is negative, the only thing left to do is to set the ipconfig
index properly.
The oFono plugin toggles the network index between connection while the
service ipconfig layer stays alive.
src/network.c