Bluetooth: Add a convenience function to check for SSP enabled
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 18 Jan 2012 19:33:12 +0000 (21:33 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:29 +0000 (17:01 +0200)
It's a very common test to see if both the local and the remote device
have SSP enabled. By creating a simple function to test this we can
shorten many if-statements in the code.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>

No differences found