]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use BIT(n) macro instead of manually encoding (1 << n)
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:28:06 +0000 (19:28 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 08:00:15 +0000 (10:00 +0200)
commitda84e56f4c8e2a3bc962190d10548a8e2813af81
tree897ccaedae7789fe61b88d3972845854b80e4f94
parent2ff00f489b4e77907fa8af10e6583db76003a825
Bluetooth: Use BIT(n) macro instead of manually encoding (1 << n)

The flags for the management command table used manual encoding of
bits in the form of (1 << n). It is however preferred to use BIT(n)
macro instead.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h