Johan Hedberg a8ca617c13 Bluetooth: Don't send public key if OOB data verification fails
When we receive the remote public key, if we have remote OOB data
there's no point in sending our public key to the remote if the OOB data
doesn't match. This patch moves the test for this higher up in the
smp_cmd_public_key() function.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-03-16 17:17:38 +01:00
..
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-06 21:50:02 -05:00
2015-03-02 16:43:41 -05:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-08 12:53:46 -07:00
2014-10-07 20:28:44 -04:00