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)
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>

No differences found