From: Johan Hedberg Date: Thu, 10 Oct 2013 16:06:04 +0000 (+0200) Subject: Bluetooth: Fix checking for HCI_SETUP flag when receiving mgmt commands X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cebf4cfd8608cbcc941750801217988f0a8fc848;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed