diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2011-10-11 07:04:34 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-10-11 09:48:28 -0400 |
commit | 43bd0f32d5cf6593e420b26e2c1c41dc371a47d7 (patch) | |
tree | b39bada207ef4fe1e040506c07859542f280bbe3 /include/net/bluetooth/l2cap.h | |
parent | 15770b1ab9747de47604da3494e187056b120aff (diff) |
Bluetooth: convert role_switch variable to flag in l2cap chan
role_switch variable inside l2cap_chan is a logical one and can
be easily converted to flag
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 440e7b86c01d..aea083c1524a 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -324,7 +324,6 @@ struct l2cap_chan { | |||
324 | __le16 sport; | 324 | __le16 sport; |
325 | 325 | ||
326 | __u8 sec_level; | 326 | __u8 sec_level; |
327 | __u8 role_switch; | ||
328 | 327 | ||
329 | __u8 ident; | 328 | __u8 ident; |
330 | 329 | ||
@@ -463,6 +462,7 @@ enum { | |||
463 | 462 | ||
464 | /* Definitions for flags in l2cap_chan */ | 463 | /* Definitions for flags in l2cap_chan */ |
465 | enum { | 464 | enum { |
465 | FLAG_ROLE_SWITCH, | ||
466 | FLAG_FORCE_ACTIVE, | 466 | FLAG_FORCE_ACTIVE, |
467 | FLAG_FORCE_RELIABLE, | 467 | FLAG_FORCE_RELIABLE, |
468 | FLAG_FLUSHABLE, | 468 | FLAG_FLUSHABLE, |