diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2006-05-27 18:22:05 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2006-05-27 18:22:05 +0000 |
commit | 4935fbdf5d5c47f114f9d1b2b6a47dbc7b75a582 (patch) | |
tree | 788a8149a9290f2eceebec6ef5b4634562c91b2f /usr.sbin/hostapd/roaming.c | |
parent | 70afaa5e04789d762c8607cc30bd3a790e0be217 (diff) |
When the device is attached, immediately create the timedelta sensor with the
SENSOR_FINVALID flag set and without a description. We do not need a dummy
description as a sensor with the FINVALID flags set will not show up or be used
anyways. It's merely an indication to applications that there is a sensor that
will eventually have a correct value.
The SENSOR_FINVALID flag is removed and the description is set to the proper
clockname as soon as we have received the first valid time information.
This enables ntpd to check for hotplug events and rescan the list of timedelta
sensors after a hotplug event.
discussed with deraadt.
Diffstat (limited to 'usr.sbin/hostapd/roaming.c')
0 files changed, 0 insertions, 0 deletions