]> git.baikalelectronics.ru Git - kernel.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)
commit57b8144c39d59c4bc46511500990c62e6e879074
treeb8e0a808062b3d8bdee50f48bcc39574a4fba3e2
parente25e0814b5f5f1643c7d2d4b18f7ddb0b990133c
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