From: Benjamin Berg <bberg@xxxxxxxxxx> Call the hci_tx_error handler in case a frame cannot be send. Signed-off-by: Benjamin Berg <bberg@xxxxxxxxxx> --- net/bluetooth/hci_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index bbb35188e41f..8664c2fbacdb 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -4200,6 +4200,8 @@ static void hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) if (err < 0) { bt_dev_err(hdev, "sending frame failed (%d)", err); kfree_skb(skb); + + hci_tx_error(hdev, -err); } } -- 2.31.1