summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>2009-04-20 06:31:07 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-06-08 14:50:00 +0200
commit589d27464846c7cb758f93d9ee380c8ff05a161c (patch)
treecca78e805ba371fb53043ff9f0ceed5c02c25184 /include/net
parentBluetooth: Use macros for L2CAP channel identifiers (diff)
downloadlinux-589d27464846c7cb758f93d9ee380c8ff05a161c.tar.xz
linux-589d27464846c7cb758f93d9ee380c8ff05a161c.zip
Bluetooth: Use macro for L2CAP hint mask on receiving config request
Using the L2CAP_CONF_HINT macro is easier to understand than using a hardcoded 0x80 value. Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/l2cap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index ed4ba913d94c..300b63f0eec9 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -149,6 +149,8 @@ struct l2cap_conf_opt {
} __attribute__ ((packed));
#define L2CAP_CONF_OPT_SIZE 2
+#define L2CAP_CONF_HINT 0x80
+
#define L2CAP_CONF_MTU 0x01
#define L2CAP_CONF_FLUSH_TO 0x02
#define L2CAP_CONF_QOS 0x03