X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fbluetooth%2Fsco.c;h=0c2d13ad69bbf0c799f8bff6fbc2e78ffcc22763;hb=c7985051dec26dc5ae2562a975a0b37b70621f3f;hp=6b61323ce23cad772371657cf18833027f56d0f9;hpb=90ddc4f0470427df306f308ad03db6b6b21644b8;p=linux-2.6 diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 6b61323ce2..0c2d13ad69 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -255,7 +255,7 @@ static inline int sco_send_frame(struct sock *sk, struct msghdr *msg, int len) } if ((err = hci_send_sco(conn->hcon, skb)) < 0) - goto fail; + return err; return count;