Bluetooth: Add smp_irk_matches helper function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 08:19:31 +0000 (10:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 08:47:02 +0000 (00:47 -0800)
commit60478054a6af7aa8cceb8218d29d27f165f1c9d3
treecf713df16202dade0f90d6c00fd6eb8dd2d24592
parent6bfdfe3cd68d5a797e0ebfb57068fe7f9c20c93a
Bluetooth: Add smp_irk_matches helper function

This patch adds a helper function to check whether a given IRK matches a
given Resolvable Private Address (RPA). The function will be needed for
implementing the rest of address resolving support.

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