diff options
author | Seungyoun Ju <sy39.ju@samsung.com> | 2015-07-13 11:28:13 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-07-23 18:10:51 +0300 |
commit | 8757825b128e71319150219b0745d3ecb87f34aa (patch) | |
tree | b2fce7a36e5127470c45215c76759c96a9eda8bb /net/bluetooth | |
parent | fc586c41117117baf22d1088dad3a771e51e35f7 (diff) | |
download | linux-8757825b128e71319150219b0745d3ecb87f34aa.tar.xz |
Bluetooth: hci_check_conn_params() check proper range
Slave latency range has been changed in Core Spec. 4.2 by Erratum 5419
of ESR08_V1.0.0. And it should be applied to Core Spec. 4.0 and 4.1.
Before:
connSlaveLatency <= ((connSupervisionTimeout / connIntervalMax) - 1)
After:
connSlaveLatency <= ((connSupervisionTimeout / (connIntervalMax*2)) - 1)
This patch makes hci_check_conn_params() check the allowable slave
latency range using the changed way.
Signed-off-by: Seungyoun Ju <sy39.ju@samsung.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions