Bluetooth: Don't send ERTM configuration option when disabled
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 09:53:35 +0000 (11:53 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 10:53:36 +0000 (13:53 +0300)
commit6fea7ad1d338dba592d65423427a997f1b7ff485
tree32c0c62bf32f9623e1bc61c5b3d5e111b8402f48
parent91a668b0565dddc9f556f9bce65da58264c74623
Bluetooth: Don't send ERTM configuration option when disabled

When ERTM support is disabled, then do not even send ERTM configuration
option even if the remote side supports it.

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