Open stats file late and close them early
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 11 Oct 2010 11:58:02 +0000 (13:58 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 11 Oct 2010 19:08:19 +0000 (21:08 +0200)
commitea5b1fb70fa718bd68b63de75f12881fab9f9c21
tree2975cc0b2a09e4c7c18119d602a4c0abd860cf42
parent05becd265667dd8b48c220f6bb1a936ffc0afeb1
Open stats file late and close them early

Instead of opening stats file when a service is created,
defer it to the point where either __connman_ipconfig_enable
or __connman_ipconfig_disable is called.
src/service.c
src/stats.c