Bluetooth: Fix basic debugfs entries for unconfigured controllers
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Oct 2015 10:35:42 +0000 (12:35 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Oct 2015 12:33:18 +0000 (15:33 +0300)
commitf640ee98bbeaa169684a571e0b96bea563bb6015
tree0ecf9743d742429b62a8604738df5a3736b5f78b
parent4d6a6aed22f91b35c14a6717d42953f260090175
Bluetooth: Fix basic debugfs entries for unconfigured controllers

When the controller is unconfigured (for example it does not have a
valid Bluetooth address), then the basic debugfs entries for dut_mode
and vendor_diag are not creates. Ensure they are created in __hci_init
and also __hci_unconf_init functions. One of them is called during setup
stage of a new controller.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c