diff options
| author | Seungyoun Ju <[email protected]> | 2015-07-13 08:28:13 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2015-07-23 15:10:51 +0000 |
| commit | 8757825b128e71319150219b0745d3ecb87f34aa (patch) | |
| tree | b2fce7a36e5127470c45215c76759c96a9eda8bb /net/lapb/lapb_in.c | |
| parent | net: ieee802154: Remove redundant spi driver bus initialization (diff) | |
| download | kernel-8757825b128e71319150219b0745d3ecb87f34aa.tar.gz kernel-8757825b128e71319150219b0745d3ecb87f34aa.zip | |
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 <[email protected]>
Signed-off-by: Johan Hedberg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
