]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf451dfec26c112d6cdd87d36dc61ff9b701bbb8e
treea74e5dd9b65b39310a6862146ebd9b74903004f7
parent3890a0b9fb314f0595547cdee934be91a6750f04
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