aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 4175470ff48e..a72a5f50728d 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -3100,7 +3100,9 @@ static void hci_hardware_error_evt(struct hci_dev *hdev, struct sk_buff *skb)
3100{ 3100{
3101 struct hci_ev_hardware_error *ev = (void *) skb->data; 3101 struct hci_ev_hardware_error *ev = (void *) skb->data;
3102 3102
3103 BT_ERR("%s hardware error 0x%2.2x", hdev->name, ev->code); 3103 hdev->hw_error_code = ev->code;
3104
3105 queue_work(hdev->req_workqueue, &hdev->error_reset);
3104} 3106}
3105 3107
3106static void hci_role_change_evt(struct hci_dev *hdev, struct sk_buff *skb) 3108static void hci_role_change_evt(struct hci_dev *hdev, struct sk_buff *skb)