]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
Bluetooth: Don't send unnecessary write_le_enable command
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 27 Feb 2012 22:57:24 +0000 (00:57 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 27 Feb 2012 23:52:34 +0000 (01:52 +0200)
commit0b60eba1b29740a606e6b7694d2dc98b6085a1bf
treeb8e0a808062b3d8bdee50f48bcc39574a4fba3e2
parent816a11d5ced501d368fabe09172f3d62744e8b53
Bluetooth: Don't send unnecessary write_le_enable command

If the local host features indicate that LE is already in the state that
is desired there's no point in sending the HCI command to try to change
the setting.

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