Hi Johan, > Since the link_mode member of the hci_conn struct is a bit field and we > already have a flags member as well it makes sense to merge these two > together. This patch moves all used link_mode bits into corresponding > flags. To keep backwards compatibility with user space we still need to > provide a get_link_mode() helper function for the ioctl's that expect a > link_mode style value. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > v2: Fix variable tpe in get_link_mode() > > include/net/bluetooth/hci_core.h | 10 +++++++--- > net/bluetooth/hci_conn.c | 43 ++++++++++++++++++++++++++++++---------- > net/bluetooth/hci_event.c | 28 +++++++++++++------------- > net/bluetooth/l2cap_core.c | 4 ++-- > net/bluetooth/smp.c | 12 +++++------ > 5 files changed, 62 insertions(+), 35 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html