Message ID | 20241022084305.790330-1-kiran.k@intel.com |
---|---|
State | New |
Headers | show |
Series | [v1] Bluetooth: btintel: Direct exception event to bluetooth stack | expand |
diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c index e122dff855ba..e9cd7efd6853 100644 --- a/drivers/bluetooth/btintel.c +++ b/drivers/bluetooth/btintel.c @@ -3365,9 +3365,8 @@ int btintel_diagnostics(struct hci_dev *hdev, struct sk_buff *skb) hci_devcd_complete(hdev); } else { bt_dev_err(hdev, "Failed to generate devcoredump"); - kfree_skb(skb); } - return 0; + break; default: bt_dev_err(hdev, "Invalid exception type %02X", tlv->val[0]); }