Files
linux/net
Johan Hedberg 0303faf180 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: Kamal Mostafa <kamal@canonical.com>
2013-06-14 09:41:39 -07:00
..
2013-05-24 10:23:19 -07:00
2013-03-20 13:10:59 -07:00
2012-07-19 10:48:00 -07:00
2012-05-17 18:45:20 -04:00
2012-09-26 21:10:25 -04:00
2010-10-15 15:53:27 +02:00