android_kernel_google_msm/include/net/bluetooth
Johan Hedberg 2147439889 Bluetooth: Fix mgmt handling of power on failures
commit 96570ffcca upstream.

If hci_dev_open fails we need to ensure that the corresponding
mgmt_set_powered command gets an appropriate response. This patch fixes
the missing response by adding a new mgmt_set_powered_failed function
that's used to indicate a power on failure to mgmt. Since a situation
with the device being rfkilled may require special handling in user
space the patch uses a new dedicated mgmt status code for this.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-20 11:58:44 -07:00
..
bluetooth.h Bluetooth: notify userspace of security level change 2012-05-14 13:51:25 -04:00
hci.h Bluetooth: Fix userspace compatibility issue with mgmt interface 2012-04-05 15:05:51 -03:00
hci_core.h Bluetooth: Fix mgmt handling of power on failures 2013-06-20 11:58:44 -07:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
l2cap.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
mgmt.h Bluetooth: Fix mgmt handling of power on failures 2013-06-20 11:58:44 -07:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h
smp.h Bluetooth: Change signature of smp_conn_security() 2012-10-02 10:30:34 -07:00