as I mentioned before, please do NOT break threading.
> why would bringing an interface up interfere? We are doing this
> now. Just the IP assignment is done by ConnMan, but the interface
> up/down status is controlled by oFono or even BlueZ in case of
Logically whoever sets the IP parameters should bring the interface administratively up.
This is layer 3.
oFono does layer 2. It should either create/remove the interface and/or play with the
dormant and/or carrier flags.
If you think we should change the current behavior, then please send
patches for oFono and BlueZ and also ConnMan to fix this.