summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-10-08 10:14:41 +0200
committerGustavo Padovan2012-10-08 14:40:12 +0200
commit8936fa6d1c202abeb94c51c68897342e8714dd69 (patch)
tree67b4e1efaf955a945ef38e1687a813d2da33072c /include/net/bluetooth/l2cap.h
parentBluetooth: Adjust L2CAP Max PDU size for AMP packets (diff)
downloadkernel-qcow2-linux-8936fa6d1c202abeb94c51c68897342e8714dd69.tar.gz
kernel-qcow2-linux-8936fa6d1c202abeb94c51c68897342e8714dd69.tar.xz
kernel-qcow2-linux-8936fa6d1c202abeb94c51c68897342e8714dd69.zip
Bluetooth: L2CAP: Fix using default Flush Timeout for EFS
There are two Flush Timeouts: one is old Flush Timeot Option which is 2 octets and the second is Flush Timeout inside EFS which is 4 octets long. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 7002f0d656ed..caab98c45121 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -32,7 +32,8 @@
/* L2CAP defaults */
#define L2CAP_DEFAULT_MTU 672
#define L2CAP_DEFAULT_MIN_MTU 48
-#define L2CAP_DEFAULT_FLUSH_TO 0xffff
+#define L2CAP_DEFAULT_FLUSH_TO 0xFFFF
+#define L2CAP_EFS_DEFAULT_FLUSH_TO 0xFFFFFFFF
#define L2CAP_DEFAULT_TX_WINDOW 63
#define L2CAP_DEFAULT_EXT_WINDOW 0x3FFF
#define L2CAP_DEFAULT_MAX_TX 3