Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0c09f94 authored by Johan Hedberg's avatar Johan Hedberg Committed by Marcel Holtmann
Browse files

Bluetooth: 6lowpan: Remove redundant BT_CONNECTED assignment



The L2CAP core code makes sure of setting the channel state to
BT_CONNECTED, so there's no need for the implementation code (6lowpan
in this case) to do it.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
Acked-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 5d0fd77a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -788,8 +788,6 @@ static struct l2cap_chan *chan_open(struct l2cap_chan *pchan)
	if (!chan)
		return NULL;

	chan->state = BT_CONNECTED;

	return chan;
}