From: Johan Hedberg Date: Wed, 18 Jun 2014 11:09:40 +0000 (+0300) Subject: Bluetooth: Fix checking for master LTKs X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97c9fb0c82afc6042004ed3f381d85ff31fadcc;p=pandora-kernel.git Bluetooth: Fix checking for master LTKs When the rename of STK_SLAVE to simply STK happened we missed this place in the ltk_type_master function. Now, checking for master is as simple as checking whether the type is SMP_LTK. The helper function is kept around for better readability in the (right now three) callers and for simpler extension with new key types in the future. Signed-off-by: Johan Hedberg Tested-by: Lukasz Rymanowski Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed