From: Marcel Holtmann Date: Wed, 16 Oct 2013 10:28:55 +0000 (-0700) Subject: Bluetooth: Expose inquiry_cache debugfs only on BR/EDR controllers X-Git-Tag: v3.13-rc1~105^2~23^2^2~4^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf27f6e0e13b9b7e81fd4c758ac87f165c1a422;p=pandora-kernel.git Bluetooth: Expose inquiry_cache debugfs only on BR/EDR controllers The inquiry_cache debugfs entry is only valid for BR/EDR capable controllers. In case of single mode LE-only controllers that entry is not valid. Move the creating of the debugfs entries to the end of controller init and only create the inquiry_cache entry if BR/EDR is actually supported. At the same time this avoids creating any debugfs entries for AMP controllers since none of the entries are valid there. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed