OSDN Git Service

Bluetooth: Fix SMP channel registration for unconfigured controllers
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Jan 2015 10:05:16 +0000 (02:05 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Jan 2015 21:22:04 +0000 (22:22 +0100)
commitec6cef9cd98d9d2dac8ec8f1d11b8a3a9524e390
treea39ccb2ca5525e2f200663acf19f5d8a56d594b6
parent203de21bf6b19f81267c373ca5323e6386fe5809
Bluetooth: Fix SMP channel registration for unconfigured controllers

When the Bluetooth controllers requires an unconfigured state (for
example when the BD_ADDR is missing), then it is important to try
to register the SMP channels when the controller transitions to the
configured state.

This also fixes an issue with the debugfs entires that are not present
for controllers that start out as unconfigured.

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