From: Johan Hedberg Date: Wed, 18 Jan 2012 19:33:12 +0000 (+0200) Subject: Bluetooth: Add a convenience function to check for SSP enabled X-Git-Tag: v3.4-rc1~177^2~112^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa64a8b500e61c33c17f1d5e7de0cc154489c59e;p=pandora-kernel.git Bluetooth: Add a convenience function to check for SSP enabled 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 Acked-by: Marcel Holtmann --- Reading git-diff-tree failed