From: Marcel Holtmann Date: Sat, 12 Jul 2014 15:00:29 +0000 (+0200) Subject: Bluetooth: Fix HCIUARTGETDEVICE ioctl when UART is not registered X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~42^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7e0c14115db67063a5f68fd9d4a12a54e649dc7;p=pandora-kernel.git Bluetooth: Fix HCIUARTGETDEVICE ioctl when UART is not registered The protocol for the UART might be configured, but that does not mean the HCI device is registered. Return an error in that case and only return the index number when HCI_UART_REGISTERED is set. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed