|
@@ -7442,7 +7442,7 @@ static void l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt)
|
|
|
mutex_unlock(&conn->chan_lock);
|
|
|
}
|
|
|
|
|
|
-int l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
|
|
|
+void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
|
|
|
{
|
|
|
struct l2cap_conn *conn = hcon->l2cap_data;
|
|
|
struct l2cap_hdr *hdr;
|
|
@@ -7485,7 +7485,7 @@ int l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
|
|
|
if (len == skb->len) {
|
|
|
/* Complete frame received */
|
|
|
l2cap_recv_frame(conn, skb);
|
|
|
- return 0;
|
|
|
+ return;
|
|
|
}
|
|
|
|
|
|
BT_DBG("Start: total len %d, frag len %d", len, skb->len);
|
|
@@ -7544,7 +7544,6 @@ int l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
|
|
|
|
|
|
drop:
|
|
|
kfree_skb(skb);
|
|
|
- return 0;
|
|
|
}
|
|
|
|
|
|
static struct hci_cb l2cap_cb = {
|