Set the sensor's status when docking and undocking, not just its value.
authorkspillner <kspillner@openbsd.org>
Thu, 21 Aug 2014 21:49:37 +0000 (21:49 +0000)
committerkspillner <kspillner@openbsd.org>
Thu, 21 Aug 2014 21:49:37 +0000 (21:49 +0000)
commit3cb04c65970bcb1f6607ba58f2672d206c10bd6b
tree1c079f547951a63d8ee81f398a77fd5d49e7441d
parent17a213c6377b59deb46a8e73357e984cef706d98
Set the sensor's status when docking and undocking, not just its value.
With this change sensorsd(8) now correctly detects state changes when
docking and undocking.

ok mlarkin@
sys/dev/acpi/acpidock.c