Bluetooth: Introduce L2CAP channel flag for defer setup
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Oct 2013 09:45:34 +0000 (02:45 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Oct 2013 11:21:06 +0000 (14:21 +0300)
commitbdc257830760a784370ae4ab2d682b252b983e77
treea74e5dd9b65b39310a6862146ebd9b74903004f7
parentc56057557672b65c11e7f99c124670c2297743f0
Bluetooth: Introduce L2CAP channel flag for defer setup

The L2CAP core should not look into the socket flags to figure out the
setting of defer setup. So introduce a L2CAP channel flag that mirrors
the socket flag.

Since the defer setup option is only set in one place this becomes a
really easy thing to do.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c