Bluetooth: mgmt: Track pending class changes
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 20:54:38 +0000 (22:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 22:15:26 +0000 (00:15 +0200)
This patch adds a flag to track pending changes to the class of device.
This is needed since we cannot cleanly handle multiple simultaneous
commands and need to return a "busy" error status in the mgmt commands
that might trigger a class change.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>

No differences found