Commit 806a519
committed
Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ
This removes the bogus check for max > hcon->le_conn_max_interval since
the later is just the initial maximum conn interval not the maximum the
stack could support which is really 3200=4000ms.
In order to pass GAP/CONN/CPUP/BV-05-C one shall probably enter values
of the following fields in IXIT that would cause hci_check_conn_params
to fail:
TSPX_conn_update_int_min
TSPX_conn_update_int_max
TSPX_conn_update_peripheral_latency
TSPX_conn_update_supervision_timeout
Link: bluez/bluez#847
Fixes: e4b0195 ("Bluetooth: Enforce validation on max value of connection interval")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 86fbd9f commit 806a519
2 files changed
Lines changed: 33 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2113 | 2113 | | |
2114 | 2114 | | |
2115 | 2115 | | |
2116 | | - | |
| 2116 | + | |
| 2117 | + | |
2117 | 2118 | | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
2118 | 2135 | | |
2119 | | - | |
| 2136 | + | |
| 2137 | + | |
2120 | 2138 | | |
| 2139 | + | |
2121 | 2140 | | |
2122 | | - | |
| 2141 | + | |
| 2142 | + | |
2123 | 2143 | | |
| 2144 | + | |
2124 | 2145 | | |
2125 | 2146 | | |
2126 | | - | |
| 2147 | + | |
| 2148 | + | |
2127 | 2149 | | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
2128 | 2156 | | |
2129 | 2157 | | |
2130 | 2158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4647 | 4647 | | |
4648 | 4648 | | |
4649 | 4649 | | |
4650 | | - | |
4651 | | - | |
4652 | | - | |
4653 | | - | |
4654 | | - | |
4655 | | - | |
4656 | | - | |
| 4650 | + | |
4657 | 4651 | | |
4658 | 4652 | | |
4659 | 4653 | | |
| |||
0 commit comments