Bluetooth: convert force_reliable variable to flag in l2cap chan

force_reliable 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:
Andrei Emeltchenko
2011-10-11 14:04:32 +03:00
committed by Gustavo F. Padovan
parent d57b0e8b89
commit ecf61bdba8
3 changed files with 8 additions and 6 deletions

View File

@@ -325,7 +325,6 @@ struct l2cap_chan {
__u8 sec_level;
__u8 role_switch;
__u8 force_reliable;
__u8 force_active;
__u8 ident;
@@ -465,6 +464,7 @@ enum {
/* Definitions for flags in l2cap_chan */
enum {
FLAG_FORCE_RELIABLE,
FLAG_FLUSHABLE,
};