]> granicus.if.org Git - esp-idf/commitdiff
bt/btm: fix misplaced debug statement
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 28 Aug 2018 10:21:44 +0000 (18:21 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 29 Aug 2018 06:40:28 +0000 (14:40 +0800)
components/bt/bluedroid/stack/btm/btm_ble_adv_filter.c

index ae55635b5d9a58f34a610c679ab8a4847395cc8b..ed56459e4a208bc02da54324e6b7eaa612379cc9 100644 (file)
@@ -331,8 +331,8 @@ void btm_ble_scan_pf_cmpl_cback(tBTM_VSC_CMPL *p_params)
         break;
     }
 
+    BTM_TRACE_DEBUG("btm_ble_scan_pf_cmpl_cback: calling the cback: %d", cb_evt);
     switch (cb_evt) {
-        BTM_TRACE_DEBUG("btm_ble_scan_pf_cmpl_cback: calling the cback: %d", cb_evt);
     case BTM_BLE_FILT_CFG:
         if (NULL != p_scan_cfg_cback) {
             p_scan_cfg_cback(action, cond_type, num_avail, status, ref_value);