mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 06:40:23 +00:00
fix compile error from last commit
This commit is contained in:
parent
4fdd1cade1
commit
f243b7dfe2
4
ble/sm.c
4
ble/sm.c
@ -1625,8 +1625,8 @@ static void sm_event_packet_handler (uint8_t packet_type, uint16_t channel, uint
|
||||
// just connected -> everything else happens in sm_run()
|
||||
if (sm_conn->sm_role){
|
||||
// slave - state already could be SM_RESPONDER_SEND_SECURITY_REQUEST instead
|
||||
if (sm_conn->sm_engine_state == sm_conn->sm_engine_state == SM_GENERAL_IDLE){
|
||||
if (sm_slave_request_security)
|
||||
if (sm_conn->sm_engine_state == SM_GENERAL_IDLE){
|
||||
if (sm_slave_request_security) {
|
||||
// request security if requested by app
|
||||
sm_conn->sm_engine_state = SM_RESPONDER_SEND_SECURITY_REQUEST;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user