Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1...
[pandora-kernel.git] / drivers / bluetooth / hci_ath.c
index bd34406..4093935 100644 (file)
@@ -201,8 +201,13 @@ static struct sk_buff *ath_dequeue(struct hci_uart *hu)
 /* Recv data */
 static int ath_recv(struct hci_uart *hu, void *data, int count)
 {
-       if (hci_recv_stream_fragment(hu->hdev, data, count) < 0)
+       int ret;
+
+       ret = hci_recv_stream_fragment(hu->hdev, data, count);
+       if (ret < 0) {
                BT_ERR("Frame Reassembly Failed");
+               return ret;
+       }
 
        return count;
 }