summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2010-07-09 10:10:09 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-07-09 05:14:03 -0300
commitcfd8c99cccccd6bdb121f77bd8bf8eeb05b522ec (patch)
treeec58019b345a66fe8ddbfe860c8980acb7bb67e1 /plugins
parente9d553694c5863a89121ca9458ce95cdb478f3f1 (diff)
downloadconnman-cfd8c99cccccd6bdb121f77bd8bf8eeb05b522ec.tar.gz
connman-cfd8c99cccccd6bdb121f77bd8bf8eeb05b522ec.tar.bz2
connman-cfd8c99cccccd6bdb121f77bd8bf8eeb05b522ec.zip
Keep start/stop state of statistic timers
When starting a ethernet device the sequence of the device state (UP, LOWER_UP) from RTNL is different then by a WiFi device. For an ethernet device the entering UP and LOWER_UP arrives together. Whereas for WiFi device we get a entering UP and leaving LOWER_UP. This results in a call on lower_down first. Unfortunatly, the stats_start and stats_stop should be called in the right order. This fix tracks the statistics enabled/disabled state.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions