From: Matthew Xie Date: Fri, 16 Aug 2013 02:30:48 +0000 (-0700) Subject: Place handling of BTA_DM_DISC_BLE_RES_EVT in BLE feature ifdef X-Git-Tag: android-x86-4.4-r1~42 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=607e3b79f1731de0d08a2c03d38ae17874bc282d;p=android-x86%2Fexternal-bluetooth-bluedroid.git 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 @@ static void btif_dm_search_services_evt(UINT16 event, char *p_param) /* 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 @@ static void btif_dm_search_services_evt(UINT16 event, char *p_param) } break; +#endif /* BLE_INCLUDED */ default: {