From ad0e8d7cb3583459690a5b682b34ffcec218e8b2 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Thu, 12 Jun 2014 19:41:22 +0000 Subject: [PATCH] fix missing () --- ble/sm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ble/sm.c b/ble/sm.c index 5f32ff735..a1cf29372 100644 --- a/ble/sm.c +++ b/ble/sm.c @@ -1415,7 +1415,7 @@ static void sm_event_packet_handler (uint8_t packet_type, uint16_t channel, uint sm_m_csrk_lookup_state = CSRK_LOOKUP_W4_READY; - if (!sm_central_device_lookup_active){ + if (!sm_central_device_lookup_active()){ // try to lookup device sm_central_device_start_lookup(sm_m_addr_type, sm_m_address); sm_m_csrk_lookup_state = CSRK_LOOKUP_STARTED;