]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: Set HCI_MGMT flag only in read_controller_info
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Oct 2011 20:36:26 +0000 (22:36 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:24:51 +0000 (17:24 -0200)
commitdf164df9a77979d1774ede353988c1a62584594b
tree1ef2e2aff41c2df6b14e0a91341669d829058b2a
parent43611a7b16038753e0510dfb0c038c80a10c80c3
Bluetooth: Set HCI_MGMT flag only in read_controller_info

The HCI_MGMT flag should only be set when user space requests the full
controller information. This way we avoid potential issues with setting
change events ariving before the actual read_controller_info command
finishes.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c