Bluetooth: Remove redundant check for remote_key_dist
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 7 Aug 2014 07:03:31 +0000 (10:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:10 +0000 (08:49 +0200)
commit5fcb93475697911eb239f68241903eb5540803ac
treef520ce8d5d6b62148a7a9e946b2e2e45e99c009a
parent22f433dcf7c71cf075e4c42b5f36ea4352978a6d
Bluetooth: Remove redundant check for remote_key_dist

In the smp_cmd_sign_info() function the SMP_DIST_SIGN bit is explicitly
cleared early on in the function. This means that there's no need to
check for it again before calling smp_distribute_keys().

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