Save counter values during shutdown
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 8 Jul 2010 09:11:11 +0000 (11:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 8 Jul 2010 12:56:00 +0000 (14:56 +0200)
commit262e526fe8029ea65e9c0655b5d7a0e6438a8bb8
tree0245d727bcd0154c13e2aa7d6b86a15b111659ea
parent529a011eb3ce7558f66ff22de36755f34cea3c8b
Save counter values during shutdown

With moving the start/stop function to the lower_up/lower_down
fucntions in service, the statistic was not stored anymore
when connman was shutdown. Reason being that lower_down will
be called only from a RTNL event which is asynchron. So when
the ethernet_disable is called connman doesn't see the
corresponding UP,LOWER_UP event.
src/service.c