Eric Sesterhenn cdee5751bf [BLUETOOTH] sco: Possible double free.
this fixes coverity bug id #1068.
hci_send_sco() frees skb if (skb->len > hdev->sco_mtu).
Since it returns a negative error value only in this case, we
can directly return here.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-04-09 22:25:29 -07:00
..
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-03-20 22:33:17 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:14 -08:00
2005-04-16 15:20:36 -07:00
2006-04-09 22:25:29 -07:00