From: Marcel Holtmann Date: Thu, 10 Jul 2014 11:17:37 +0000 (+0200) Subject: Bluetooth: Mark controller is down when HCI_AUTO_OFF is set X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~42^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e84d8db91e45964c2b54ccc7da1f9b4bfb1222b;p=pandora-kernel.git Bluetooth: Mark controller is down when HCI_AUTO_OFF is set During the initial setup phase, the controller is powered on and will be powered off again if it is not used within the auto-off timeout. Userspace using ioctl does not know about the difference between the initial setup phase and a controller being present. It is a bad idea to keep the controller powered by just looking at the device list or device information. Instead just tell userspace that the controller is still down. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed