Bluetooth: Fix setting initial local auth_req value
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 20 May 2014 06:45:48 +0000 (09:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 May 2014 15:44:12 +0000 (08:44 -0700)
commit1ef35827a999582669b38b71d3167907b4c2afd0
tree431dcf795951c7891fb91dd215c53b2b4441f019
parent4bc58f51e156227d139668199ffe5df2ccb2f3c2
Bluetooth: Fix setting initial local auth_req value

There is no reason to have the initial local value conditional to
whether the remote value has bonding set or not. We can either way start
off with the value we received.

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