diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-10-06 12:03:20 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-08 10:43:52 +0200 |
commit | 5d0fd77a043504dabccb66d9b5671e682868e96d (patch) | |
tree | 6938df8c93c7c85843995688f63e9b14ae3211a3 /net/bluetooth/6lowpan.c | |
parent | Bluetooth: 6lowpan: Fix imtu & omtu values (diff) | |
download | linux-5d0fd77a043504dabccb66d9b5671e682868e96d.tar.xz linux-5d0fd77a043504dabccb66d9b5671e682868e96d.zip |
Bluetooth: 6lowpan: Remove redundant (and incorrect) MPS assignments
The L2CAP core code already sets the local MPS to a sane value. The
remote MPS value otoh comes from the remote side so there's no point
in trying to hard-code it to any value.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r-- | net/bluetooth/6lowpan.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index 3e20f7a60d61..3d951abfdf41 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c @@ -788,9 +788,6 @@ static struct l2cap_chan *chan_open(struct l2cap_chan *pchan) if (!chan) return NULL; - chan->remote_mps = chan->omtu; - chan->mps = chan->omtu; - chan->state = BT_CONNECTED; return chan; |