From: Johan Hedberg Date: Tue, 24 Jun 2014 14:03:50 +0000 (+0300) Subject: Bluetooth: Convert hci_conn->link_mode into flags X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dae27983eaaee15c6867561eb2c8d7b2d28d6cc;p=pandora-kernel.git Bluetooth: Convert hci_conn->link_mode into flags 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed