Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41039
b: refs/heads/master
c: 820ae1b
h: refs/heads/master
i:
  41037: 145f714
  41035: 599ad54
  41031: 6044b6e
  41023: 903f660
v: v3
  • Loading branch information
Marcel Holtmann authored and David S. Miller committed Nov 22, 2006
1 parent 53d25a6 commit 1fcea4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: ff2d367ac33b9278c9516ac1888207dac11d10b0
refs/heads/master: 820ae1b865caa05e0614004d0183ca70de2b8665
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1353,12 +1353,12 @@ static inline int l2cap_conf_output(struct sock *sk, void **ptr)

/* Configure output options and let the other side know
* which ones we don't like. */
if (pi->conf_mtu < pi->omtu) {
l2cap_add_conf_opt(ptr, L2CAP_CONF_MTU, 2, pi->omtu);
if (pi->conf_mtu < pi->omtu)
result = L2CAP_CONF_UNACCEPT;
} else {
else
pi->omtu = pi->conf_mtu;
}

l2cap_add_conf_opt(ptr, L2CAP_CONF_MTU, 2, pi->omtu);

BT_DBG("sk %p result %d", sk, result);
return result;
Expand Down

0 comments on commit 1fcea4b

Please sign in to comment.