]> git.karo-electronics.de Git - karo-tx-linux.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)
commita958452aa40c57a0407ecf84ba1bfa31ad532313
tree897ccaedae7789fe61b88d3972845854b80e4f94
parentf6b7712eb660c50877a56772908326cd31125b21
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