diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2014-11-01 21:56:41 -0400 |
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-11-02 02:59:42 -0500 |
| commit | 24dfa343716a493472db0555342bb88678efa444 (patch) | |
| tree | 7a07d632e92e30835672e6fabc1f4ec6691f71ab /include/net/bluetooth | |
| parent | 8761f9d6620b0be6b08f21807568fbbfcbb128d2 (diff) | |
Bluetooth: Print error message for HCI_Hardware_Error event
When the HCI_Hardware_Error event is send by the controller or
injected by the driver, then at least print an error message.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
| -rw-r--r-- | include/net/bluetooth/hci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 6e8f24967308..ecfa306e1375 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
| @@ -1463,6 +1463,11 @@ struct hci_ev_cmd_status { | |||
| 1463 | __le16 opcode; | 1463 | __le16 opcode; |
| 1464 | } __packed; | 1464 | } __packed; |
| 1465 | 1465 | ||
| 1466 | #define HCI_EV_HARDWARE_ERROR 0x10 | ||
| 1467 | struct hci_ev_hardware_error { | ||
| 1468 | __u8 code; | ||
| 1469 | } __packed; | ||
| 1470 | |||
| 1466 | #define HCI_EV_ROLE_CHANGE 0x12 | 1471 | #define HCI_EV_ROLE_CHANGE 0x12 |
| 1467 | struct hci_ev_role_change { | 1472 | struct hci_ev_role_change { |
| 1468 | __u8 status; | 1473 | __u8 status; |
