From: Marcel Holtmann Date: Thu, 15 Jan 2015 16:04:21 +0000 (-0800) Subject: Bluetooth: Add paranoid check for existing LE and BR/EDR SMP channels X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~184^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b8df323953bfbeb8289c56f43b7fcfa4c70e90a;p=pandora-kernel.git Bluetooth: Add paranoid check for existing LE and BR/EDR SMP channels When the SMP channels have been already registered, then print out a clear WARN_ON message that something went wrong. Also unregister the existing channels in this case before trying to register new ones. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed