Bluetooth: Fix init request completion with old controllers
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 24 Feb 2012 11:47:56 +0000 (13:47 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 24 Feb 2012 12:01:20 +0000 (14:01 +0200)
commit3159d3843aa628b0ee9e8ef4b4fe8c935500c03f
tree76338bc8e90d6fb38c1e11cda34efa1720db4296
parent24b78d0f49b94f658e8bae707c158962535053dd
Bluetooth: Fix init request completion with old controllers

With Bluetooth 1.1 controllers the last command in the HCI init sequence
will be a write_local_name, however there was no callback to indicate
init request completion in this case. This patch fixes the issue by
adding the necessary callback to the write_local_name_complete handler.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c