]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add default connection parameters before pairing
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jun 2014 10:34:40 +0000 (12:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:51 +0000 (17:42 +0200)
commit15dbea8cfdbb273314569256c9c400943502ecc7
tree6bb411791dbc1d559dbc6b2ed4eb5d6d95b342bb
parent3761f07d6c6a337551d19163576367843c098aed
Bluetooth: Add default connection parameters before pairing

When trying to pair a new Bluetooth Low Energy device, then make sure
that the default connections parameters are in place before trying to
establish the first connection to that device. With the connection
parameters structure allocated, the slave preferred values can now
easily be tracked and all future connections will use the correct
values from that start decreasing connection establishment time.

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