linux/drivers/bluetooth
Frederic Danis 43b79209b5 Bluetooth: btbcm: Fix calls to __hci_cmd_sync()
Remove test of command reply status as it is already performed by
__hci_cmd_sync().

__hci_cmd_sync_ev() function already returns an error if it got a
non-zero status either through a Command Complete or a Command
Status event.

For both of these events the status is collected up in the event
handlers called by hci_event_packet() and then passed as the second
parameter to req_complete_skb(). The req_complete_skb() callback in
turn is hci_req_sync_complete() for __hci_cmd_sync_ev() which stores
the status in hdev->req_result. The hdev->req_result is then further
converted through bt_to_errno() back in __hci_cmd_sync_ev().

Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-05-15 16:04:50 +02:00
..
ath3k.c Bluetooth: ath3k: Add support Atheros AR5B195 combo Mini PCIe card 2015-02-15 00:45:12 +01:00
bcm203x.c Bluetooth: Use devm_kzalloc in bcm203x.c file. 2012-08-06 15:03:00 -03:00
bfusb.c Bluetooth: bfusb: Set the HCI_QUIRK_BROKEN_LOCAL_COMMANDS quirk 2014-12-26 20:16:12 +02:00
bluecard_cs.c Bluetooth: Remove typedef bluecard_info_t 2014-08-14 08:49:25 +02:00
bpa10x.c Bluetooth: Declare bpa10x_table[] as const 2013-10-11 17:05:22 +02:00
bt3c_cs.c Bluetooth: bt3c: Delete some unuseful comments 2015-04-30 01:05:29 +02:00
btbcm.c Bluetooth: btbcm: Fix calls to __hci_cmd_sync() 2015-05-15 16:04:50 +02:00
btbcm.h Bluetooth: btbcm: Export patchram download as separate function 2015-04-30 01:05:29 +02:00
btintel.c Bluetooth: btintel: Fix calls to __hci_cmd_sync() 2015-05-15 16:04:49 +02:00
btintel.h Bluetooth: btusb: Use proper data structures for Intel vendor events 2015-04-09 10:42:18 +03:00
btmrvl_debugfs.c Bluetooth: btmrvl add firmware dump support 2014-12-03 17:35:51 +01:00
btmrvl_drv.h Bluetooth: btmrvl: support SCO routing to host interface 2015-02-14 05:19:58 +01:00
btmrvl_main.c Bluetooth: btmrvl: support SCO routing to host interface 2015-02-14 05:19:58 +01:00
btmrvl_sdio.c Bluetooth: btmrvl: fix compilation warning 2015-05-13 23:08:04 +02:00
btmrvl_sdio.h Bluetooth: btmrvl add firmware dump support 2014-12-03 17:35:51 +01:00
btrtl.c Bluetooth: btrtl: Create separate module for Realtek BT driver 2015-05-14 12:04:12 +02:00
btrtl.h Bluetooth: btrtl: Create separate module for Realtek BT driver 2015-05-14 12:04:12 +02:00
btsdio.c Bluetooth: Use MD SET register for changing SDIO Type-B to Type-A 2013-12-29 21:31:07 +02:00
btuart_cs.c Bluetooth: Remove typedef btuart_info_t 2014-08-14 08:49:25 +02:00
btusb.c Bluetooth: btusb: Fix calls to __hci_cmd_sync() 2015-05-15 16:04:49 +02:00
btwilink.c Bluetooth: btwilink: remove DEBUG define 2015-05-13 23:00:51 +02:00
dtl1_cs.c Bluetooth: Remove typedefs nsh_t and dtl1_info_t 2014-08-14 08:49:26 +02:00
hci_ath.c Bluetooth: hci_uart: Add Atheros support for address configuration 2015-04-30 01:05:29 +02:00
hci_bcm.c Bluetooth: hci_uart: Provide generic H:4 receive framework 2015-04-07 18:48:21 +02:00
hci_bcsp.c Bluetooth: hci_uart: Update version number driver 2015-04-07 18:47:10 +02:00
hci_h4.c Bluetooth: hci_uart: Provide generic H:4 receive framework 2015-04-07 18:48:21 +02:00
hci_h5.c Bluetooth: hci_uart: Remove the manual protocol init message 2015-04-07 18:47:10 +02:00
hci_intel.c Bluetooth: hci_uart: Use generic Intel support for address setting 2015-04-07 18:48:21 +02:00
hci_ldisc.c Bluetooth: hci_uart: Use generic Intel support for address setting 2015-04-07 18:48:21 +02:00
hci_ll.c Bluetooth: hci_uart: Remove the manual protocol init message 2015-04-07 18:47:10 +02:00
hci_uart.h Bluetooth: hci_uart: Use generic Intel support for address setting 2015-04-07 18:48:21 +02:00
hci_vhci.c switch hci_vhci to ->write_iter() 2014-10-09 02:39:08 -04:00
Kconfig Bluetooth: btrtl: Create separate module for Realtek BT driver 2015-05-14 12:04:12 +02:00
Makefile Bluetooth: btrtl: Create separate module for Realtek BT driver 2015-05-14 12:04:12 +02:00