aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-10-20 07:37:06 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-22 05:59:41 -0400
commit861d6882b3dfe1710b35dbddf1b395b962061413 (patch)
tree94da0e9d5de2c3ed7643600ba4fe643e5e7c6911 /include/net/bluetooth
parent876d9484edf77d228adb42aecd4debd58d7739d6 (diff)
[Bluetooth] Remove global conf_mtu variable from L2CAP
After the change to the L2CAP configuration parameter handling the global conf_mtu variable is no longer needed and so remove it. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/l2cap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 70e70f5d3dd6..f7bcd1f782cb 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -221,7 +221,6 @@ struct l2cap_pinfo {
221 __u8 conf_len; 221 __u8 conf_len;
222 __u8 conf_state; 222 __u8 conf_state;
223 __u8 conf_retry; 223 __u8 conf_retry;
224 __u16 conf_mtu;
225 224
226 __u8 ident; 225 __u8 ident;
227 226
@@ -232,10 +231,11 @@ struct l2cap_pinfo {
232 struct sock *prev_c; 231 struct sock *prev_c;
233}; 232};
234 233
235#define L2CAP_CONF_REQ_SENT 0x01 234#define L2CAP_CONF_REQ_SENT 0x01
236#define L2CAP_CONF_INPUT_DONE 0x02 235#define L2CAP_CONF_INPUT_DONE 0x02
237#define L2CAP_CONF_OUTPUT_DONE 0x04 236#define L2CAP_CONF_OUTPUT_DONE 0x04
238#define L2CAP_CONF_MAX_RETRIES 2 237
238#define L2CAP_CONF_MAX_RETRIES 2
239 239
240void l2cap_load(void); 240void l2cap_load(void);
241 241