Place handling of BTA_DM_DISC_BLE_RES_EVT in BLE feature ifdef
Without this fix, bluetooth fail to compile for non-BLE platform
Change-Id: Ida10c54ab841e0a2bcaeb389a9813dd846db8200
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index 0a71eec..3609420 100644
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -1144,6 +1144,7 @@
/* fixme */
break;
+#if (defined(BLE_INCLUDED) && (BLE_INCLUDED == TRUE))
case BTA_DM_DISC_BLE_RES_EVT:
BTIF_TRACE_DEBUG2("%s:, services 0x%x)", __FUNCTION__,
p_data->disc_ble_res.service.uu.uuid16);
@@ -1182,6 +1183,7 @@
}
break;
+#endif /* BLE_INCLUDED */
default:
{