Skip to content

Commit c7c1f73

Browse files
lylezhu2012nashif
authored andcommitted
Bluetooth: SSP: Support security level 4
Currently, error code `-ENOTSUP` will be returned if start security with security level 4. For SC supported case, level 4 for ssp should be supported. Remove the code limitation to support security level 4. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
1 parent 7e54f13 commit c7c1f73

File tree

1 file changed

+0
-4
lines changed
  • subsys/bluetooth/host/classic

1 file changed

+0
-4
lines changed

subsys/bluetooth/host/classic/ssp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,6 @@ int bt_ssp_start_security(struct bt_conn *conn)
355355
return -EBUSY;
356356
}
357357

358-
if (conn->required_sec_level > BT_SECURITY_L3) {
359-
return -ENOTSUP;
360-
}
361-
362358
if (get_io_capa() == BT_IO_NO_INPUT_OUTPUT &&
363359
conn->required_sec_level > BT_SECURITY_L2) {
364360
return -EINVAL;

0 commit comments

Comments
 (0)