Bluetooth: Add BT_MODE socket option
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 27 Mar 2020 18:32:15 +0000 (11:32 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 2 Apr 2020 06:25:19 +0000 (08:25 +0200)
commit3ee7b7cd83900bb711efadbf16fa096a615a1566
treec1150b6c61684ce56ef89c3965ffbaacc13b7387
parentb86b0b150fed840c376145383ef5105116c81b0c
Bluetooth: Add BT_MODE socket option

This adds BT_MODE socket option which can be used to set L2CAP modes,
including modes only supported over LE which were not supported using
the L2CAP_OPTIONS.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/bluetooth.h
net/bluetooth/l2cap_sock.c