original_kernel/net/bluetooth
Johan Hedberg 96570ffcca Bluetooth: Fix mgmt handling of power on failures
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>
Cc: stable@vger.kernel.org
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>
2013-06-12 10:20:55 -04:00
..
bnep
cmtp
hidp
rfcomm
Kconfig
Makefile
a2mp.c
af_bluetooth.c
amp.c
hci_conn.c
hci_core.c Bluetooth: Fix mgmt handling of power on failures 2013-06-12 10:20:55 -04:00
hci_event.c
hci_sock.c
hci_sysfs.c
l2cap_core.c Bluetooth: Fix missing length checks for L2CAP signalling PDUs 2013-06-12 10:20:54 -04:00
l2cap_sock.c
lib.c
mgmt.c Bluetooth: Fix mgmt handling of power on failures 2013-06-12 10:20:55 -04:00
sco.c
smp.c