···458458 goto unlock;459459 }460460461461+ /* Check if there are available buffers for output/TX. */462462+ if (iso_pi(sk)->qos.ucast.out.sdu && !hci_iso_count(hdev) &&463463+ (hdev->iso_pkts && !hdev->iso_cnt)) {464464+ err = -ENOBUFS;465465+ goto unlock;466466+ }467467+461468 /* Just bind if DEFER_SETUP has been set */462469 if (test_bit(BT_SK_DEFER_SETUP, &bt_sk(sk)->flags)) {463470 hcon = hci_bind_cis(hdev, &iso_pi(sk)->dst,