DF-5764 / fix.diff
--- a/sys/netbt/l2cap_lower.c +++ b/sys/netbt/l2cap_lower.c @@ -200,6 +200,8 @@ DPRINTFN(5, "CID #%d sending packet (%d bytes)\n", chan->lc_lcid, m->m_pkthdr.len); - chan->lc_pending++; - return hci_acl_send(m, chan->lc_link, chan); + err = hci_acl_send(m, chan->lc_link, chan); + if (err == 0) + chan->lc_pending++; + return err; } |