]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use same LE min/max connection event length during update
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Feb 2014 06:27:14 +0000 (22:27 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Feb 2014 06:53:28 +0000 (08:53 +0200)
commitcbced22c4f321932a0ffafbd75ca6c0686cde6f3
treeda523bcd0a7784854f1edd318243cf81175b69da
parent35069e01e5efc6091755e61d7feb06458e628728
Bluetooth: Use same LE min/max connection event length during update

During LE connection establishment the value 0x0000 is used for min/max
connection event length. So use the same value when the peripheral is
requesting an update of the the connection paramters.

For some reason the value 0x0001 got used in the connection update and
0x0000 in the connection creation. Using the same value for both just
makes sense.

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