Bluetooth: Use HCI_EV_HARDWARE_ERROR define for event payload
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 02:02:01 +0000 (03:02 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 2 Nov 2014 08:00:53 +0000 (10:00 +0200)
commitb34490011d0d1a08124ffd6c4d5814ec94cd8f8f
tree96ec367c255914a90ca1831841adf36d00f4d71d
parent24dfa343716a493472db0555342bb88678efa444
Bluetooth: Use HCI_EV_HARDWARE_ERROR define for event payload

When constructing the event payload for the HCI_Hardware_Error event
message, use the HCI_EV_HARDWARE_ERROR define.

In addition rename the variables from hard_err to hw_err to clearly
indicate that this is about the hardware error and not a hard error.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_h5.c