Commit 05761c2
committed
Bluetooth: L2CAP: Fix response to L2CAP_ECRED_CONN_REQ
Similar to 03dba9c ("Bluetooth: L2CAP: Fix not responding with
L2CAP_CR_LE_ENCRYPTION") the result code L2CAP_CR_LE_ENCRYPTION shall
be used when BT_SECURITY_MEDIUM is set since that means security mode 2
which mean it doesn't require authentication which results in
qualification test L2CAP/ECFC/BV-32-C failing.
Link: bluez/bluez#1871
Fixes: 15f02b9 ("Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 5c4e9a8 commit 05761c2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5112 | 5112 | | |
5113 | 5113 | | |
5114 | 5114 | | |
5115 | | - | |
| 5115 | + | |
| 5116 | + | |
5116 | 5117 | | |
5117 | 5118 | | |
5118 | 5119 | | |
| |||
0 commit comments