Commit 03dba9c
committed
Bluetooth: L2CAP: Fix not responding with L2CAP_CR_LE_ENCRYPTION
Depending on the security set the response to L2CAP_LE_CONN_REQ shall be
just L2CAP_CR_LE_ENCRYPTION if only encryption when BT_SECURITY_MEDIUM
is selected since that means security mode 2 which doesn't require
authentication which is something that is covered in the qualification
test L2CAP/LE/CFC/BV-25-C.
Link: bluez/bluez#1270
Fixes: 27e2d4c ("Bluetooth: Add basic LE L2CAP connect request receiving support")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 0fb410c commit 03dba9c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4870 | 4870 | | |
4871 | 4871 | | |
4872 | 4872 | | |
4873 | | - | |
| 4873 | + | |
| 4874 | + | |
4874 | 4875 | | |
4875 | 4876 | | |
4876 | 4877 | | |
| |||
0 commit comments