summaryrefslogtreecommitdiffstats
path: root/audio/control.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-08 17:50:59 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-08 17:50:59 +0200
commitf5ab22bbfa00862e60d232648f1674fc9181ceb8 (patch)
tree2cfe83ff4b7704767f760032bf1c62f85fc3c70d /audio/control.c
parentbe81c7873a8241c68b5d03883492dfe069918145 (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 'audio/control.c')
0 files changed, 0 insertions, 0 deletions