Bluetooth: Make LTK key type check more readable
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 31 Jan 2014 03:39:58 +0000 (19:39 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:40 +0000 (09:51 +0200)
commit21b93b75ad1090dd9aed69b56292648bac6666a9
treec6a301ed837b268d6f358f4918ecb99c1b33093f
parentf813f1be1f82a09720e94533f46ac79276eb037d
Bluetooth: Make LTK key type check more readable

Instead of magic bitwise operations simply compare with the two possible
type values that we are interested in.

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