commit | 2e2336445e696805b40d6a13cf25f26d49e20069 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Mar 18 15:42:30 2014 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Mar 18 10:18:26 2014 -0700 |
tree | e248d860b6ed117a674d113e3e1b5d636aa07d62 | |
parent | 943a732ab6440f4edbccd8cd9044a588b35059a0 [diff] |
Bluetooth: Fix MITM flag when initiating SMP pairing The pairing process initiated through mgmt sets the conn->auth_type value regardless of BR/EDR or LE pairing. This value will contain the MITM flag if the local IO capability allows it. When sending the SMP pairing request we should check the value and ensure that the MITM bit gets correctly set in the bonding flags. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>