commit | cebf4cfd8608cbcc941750801217988f0a8fc848 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Oct 10 18:06:04 2013 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Oct 10 09:13:45 2013 -0700 |
tree | 0c17800a5da36569359f419278087ab79e9ce42d | |
parent | c4e5bafa661126b7b42459ad32d4c2cc589ef8fb [diff] |
Bluetooth: Fix checking for HCI_SETUP flag when receiving mgmt commands When the HCI_SETUP flag is set the controller has not yet been announced over mgmt and therefore doesn't exist from that perspective. If we nevertheless get a mgmt command for it we should respond with the appropriate INVALID_INDEX error. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>