diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-08 17:50:59 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-08 17:50:59 +0200 |
commit | f5ab22bbfa00862e60d232648f1674fc9181ceb8 (patch) | |
tree | 2cfe83ff4b7704767f760032bf1c62f85fc3c70d /src/hcid.conf | |
parent | be81c7873a8241c68b5d03883492dfe069918145 (diff) |
Check for headset connected state when unregistering
In theory a headset could be in a connected state when the driver for it gets
unregistered. Do proper cleanup in this case (call headset_set_state(hs,
DISCONNECTED)). Currently this happens even in practice due to a bug where we
incorrectly assume that a device has removed a profile when in fact it's just
hiding it while it's connected.
Diffstat (limited to 'src/hcid.conf')
0 files changed, 0 insertions, 0 deletions