···924924 case CIS_LINK:925925 case BIS_LINK:926926 case PA_LINK:927927- if (hdev->iso_mtu)928928- /* Dedicated ISO Buffer exists */929929- break;930930- fallthrough;927927+ if (!hdev->iso_mtu)928928+ return ERR_PTR(-ECONNREFUSED);929929+ break;931930 case LE_LINK:932931 if (hdev->le_mtu && hdev->le_mtu < HCI_MIN_LE_MTU)933932 return ERR_PTR(-ECONNREFUSED);
+2-4
net/bluetooth/hci_core.c
···33993399 case CIS_LINK:34003400 case BIS_LINK:34013401 case PA_LINK:34023402- cnt = hdev->iso_mtu ? hdev->iso_cnt :34033403- hdev->le_mtu ? hdev->le_cnt : hdev->acl_cnt;34023402+ cnt = hdev->iso_cnt;34043403 break;34053404 default:34063405 cnt = 0;···37583759 if (!hci_conn_num(hdev, type))37593760 return;3760376137613761- cnt = hdev->iso_pkts ? &hdev->iso_cnt :37623762- hdev->le_pkts ? &hdev->le_cnt : &hdev->acl_cnt;37623762+ cnt = &hdev->iso_cnt;37633763 while (*cnt && (conn = hci_low_sent(hdev, type, "e))) {37643764 while (quote-- && (skb = skb_dequeue(&conn->data_q))) {37653765 BT_DBG("skb %p len %d", skb, skb->len);
+3-13
net/bluetooth/hci_event.c
···44614461 case CIS_LINK:44624462 case BIS_LINK:44634463 case PA_LINK:44644464- if (hdev->iso_pkts) {44654465- hdev->iso_cnt += count;44664466- if (hdev->iso_cnt > hdev->iso_pkts)44674467- hdev->iso_cnt = hdev->iso_pkts;44684468- } else if (hdev->le_pkts) {44694469- hdev->le_cnt += count;44704470- if (hdev->le_cnt > hdev->le_pkts)44714471- hdev->le_cnt = hdev->le_pkts;44724472- } else {44734473- hdev->acl_cnt += count;44744474- if (hdev->acl_cnt > hdev->acl_pkts)44754475- hdev->acl_cnt = hdev->acl_pkts;44764476- }44644464+ hdev->iso_cnt += count;44654465+ if (hdev->iso_cnt > hdev->iso_pkts)44664466+ hdev->iso_cnt = hdev->iso_pkts;44774467 break;4478446844794469 default: