]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: Clear EIR data when disabling SSP
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 20 Feb 2012 22:52:42 +0000 (00:52 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 20 Feb 2012 23:05:16 +0000 (01:05 +0200)
commitcc55f3d9f7aec5abbabc3884121aa59ac1fcc267
tree268e88396fa9c55ac639cb3084f47a07fc2207cb
parent9ecb7a030d6150bb4ce781414c12a370db7202fc
Bluetooth: mgmt: Clear EIR data when disabling SSP

EIR shouldn't be enabled if SSP isn't enabled. This patch adds the
clearing of EIR data when disabling SSP and restores the data when SSP
is re-enabled.

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