Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352231
b: refs/heads/master
c: cbf54ad
h: refs/heads/master
i:
  352229: fb686a0
  352227: 609c4d4
  352223: 4a360b6
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Jan 9, 2013
1 parent 51376bb commit 39fcb16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a9898c6ff67ad640304fd3d02f9a22874483c3d
refs/heads/master: cbf54ad104cb2ec6f5734d95be1dc783bea0343b
5 changes: 0 additions & 5 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1527,17 +1527,12 @@ static struct l2cap_conn *l2cap_conn_add(struct hci_conn *hcon, u8 status)
BT_DBG("hcon %p conn %p hchan %p", hcon, conn, hchan);

switch (hcon->type) {
case AMP_LINK:
conn->mtu = hcon->hdev->block_mtu;
break;

case LE_LINK:
if (hcon->hdev->le_mtu) {
conn->mtu = hcon->hdev->le_mtu;
break;
}
/* fall through */

default:
conn->mtu = hcon->hdev->acl_mtu;
break;
Expand Down

0 comments on commit 39fcb16

Please sign in to comment.