diff options
| author | 2014-09-10 17:37:41 -0700 | |
|---|---|---|
| committer | 2014-09-11 02:45:24 +0200 | |
| commit | 3a7dbfb8ff943711be4221df978254ad2bc1ac46 (patch) | |
| tree | 47bf1c11fbd6262e51092228e049e067cef6ab25 /scripts/objdiff | |
| parent | Bluetooth: Fix allowing SMP Signing info PDU (diff) | |
Bluetooth: Remove unnecessary early initialization of variable
We do nothing else with the auth variable in smp_cmd_pairing_rsp()
besides passing it to tk_request() which in turn only cares about
whether one of the sides had the MITM bit set. It is therefore
unnecessary to assign a value to it until just before calling
tk_request(), and this value can simply be the bit-wise or of the local
and remote requirements.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
