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>
This commit is contained in:
committed by
Gustavo F. Padovan
parent
15770b1ab9
commit
43bd0f32d5
@@ -324,7 +324,6 @@ struct l2cap_chan {
|
||||
__le16 sport;
|
||||
|
||||
__u8 sec_level;
|
||||
__u8 role_switch;
|
||||
|
||||
__u8 ident;
|
||||
|
||||
@@ -463,6 +462,7 @@ enum {
|
||||
|
||||
/* Definitions for flags in l2cap_chan */
|
||||
enum {
|
||||
FLAG_ROLE_SWITCH,
|
||||
FLAG_FORCE_ACTIVE,
|
||||
FLAG_FORCE_RELIABLE,
|
||||
FLAG_FLUSHABLE,
|
||||
|
Reference in New Issue
Block a user