]> 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)
commit42e6e02e0dd742f9faf123ad55e3d6fed85f5518
tree897ccaedae7789fe61b88d3972845854b80e4f94
parent0c34df8cbe388b7509815a0898fc670c91aac5e3
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