Bluetooth: mgmt: Fix EIR toggling with SSP
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 22 Feb 2012 13:10:59 +0000 (15:10 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:59 +0000 (13:06 +0200)
commit5fc6ebb102fdf6f589242ebfe3a07d112d60c7d5
treef8c4854cf6af25501e6aa70cea1a662ad88af6f8
parent6bf0e4699d1dd56f7f8c12cf332ebffaf1c5e83e
Bluetooth: mgmt: Fix EIR toggling with SSP

This patch fixes setting the EIR properly when the SSP flag has been set
when powered off (in such a case there is no pending Set_SSP command).

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