From 8da2e96db318b56d3a5b2cce04fa29e2ff396523 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 20 Apr 2016 16:57:41 +0200 Subject: [PATCH] sm: fix compile --- src/ble/sm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ble/sm.c b/src/ble/sm.c index 5be638c38..9d97c9e26 100644 --- a/src/ble/sm.c +++ b/src/ble/sm.c @@ -551,7 +551,7 @@ static void sm_setup_tk(void){ } // Also use just works if unknown io capabilites - if ((sm_pairing_packet_get_io_capability(setup->sm_m_preq) > IO_CAPABILITY_KEYBOARD_DISPLAY) || (sm_pairing_packet_get_io_capability(setup->sm_s_preq) > IO_CAPABILITY_KEYBOARD_DISPLAY)){ + if ((sm_pairing_packet_get_io_capability(setup->sm_m_preq) > IO_CAPABILITY_KEYBOARD_DISPLAY) || (sm_pairing_packet_get_io_capability(setup->sm_s_pres) > IO_CAPABILITY_KEYBOARD_DISPLAY)){ return; }