summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorZach Johnson <zachoverflow@google.com>2014-10-20 13:06:52 -0700
committerAndre Eisenbach <eisenbach@google.com>2015-03-16 16:51:36 -0700
commite623c26bb2e14c2fa7cf76d55e51d93c1ac42782 (patch)
tree95807533b24ec274773b712ef746ee5d870be794 /main
parent86a56d303fdbed734549b181622ed74140113d2d (diff)
downloadandroid_system_bt-e623c26bb2e14c2fa7cf76d55e51d93c1ac42782.tar.gz
android_system_bt-e623c26bb2e14c2fa7cf76d55e51d93c1ac42782.tar.bz2
android_system_bt-e623c26bb2e14c2fa7cf76d55e51d93c1ac42782.zip
Remove definitions for DUN
Missing header files, etc so it wouldn't compile anyway.
Diffstat (limited to 'main')
-rw-r--r--main/bte_init.c8
-rw-r--r--main/bte_logmsg.c8
2 files changed, 1 insertions, 15 deletions
diff --git a/main/bte_init.c b/main/bte_init.c
index ab58b2c7a..bef720664 100644
--- a/main/bte_init.c
+++ b/main/bte_init.c
@@ -51,10 +51,6 @@
#include "spp_api.h"
#endif
-#if (defined(DUN_INCLUDED) && DUN_INCLUDED == TRUE)
-#include "dun_api.h"
-#endif
-
#if (defined(OPP_INCLUDED) && OPP_INCLUDED == TRUE)
#include "opp_api.h"
#endif /* OPP */
@@ -284,10 +280,6 @@ void BTE_InitStack(void)
SPP_Init();
#endif /* SPP */
-#if (defined(DUN_INCLUDED) && DUN_INCLUDED == TRUE)
- DUN_Init();
-#endif /* DUN */
-
#if (defined(HSP2_INCLUDED) && HSP2_INCLUDED == TRUE)
HSP2_Init();
#endif /* HSP2 */
diff --git a/main/bte_logmsg.c b/main/bte_logmsg.c
index 9733183b3..16209c5be 100644
--- a/main/bte_logmsg.c
+++ b/main/bte_logmsg.c
@@ -65,9 +65,6 @@
#include "bpp_api.h"
#endif
#include "btm_api.h"
-#if (DUN_INCLUDED==TRUE)
-#include "dun_api.h"
-#endif
#if (GAP_INCLUDED==TRUE)
#include "gap_api.h"
#endif
@@ -118,7 +115,7 @@ static const char * const bt_layer_tags[] = {
"bt-obex",
"bt-btm",
"bt-gap",
- "bt-dun",
+ "UNUSED",
"UNUSED",
"bt-icp",
"bt-hsp2",
@@ -192,9 +189,6 @@ static tBTTRC_FUNC_MAP bttrc_set_level_map[] = {
{BTTRC_ID_STK_BPP, BTTRC_ID_STK_BPP, BPP_SetTraceLevel, "TRC_BPP", DEFAULT_CONF_TRACE_LEVEL},
#endif
{BTTRC_ID_STK_BTM_ACL, BTTRC_ID_STK_BTM_SEC, BTM_SetTraceLevel, "TRC_BTM", DEFAULT_CONF_TRACE_LEVEL},
-#if (DUN_INCLUDED==TRUE)
- {BTTRC_ID_STK_DUN, BTTRC_ID_STK_DUN, DUN_SetTraceLevel, "TRC_DUN", DEFAULT_CONF_TRACE_LEVEL},
-#endif
#if (GAP_INCLUDED==TRUE)
{BTTRC_ID_STK_GAP, BTTRC_ID_STK_GAP, GAP_SetTraceLevel, "TRC_GAP", DEFAULT_CONF_TRACE_LEVEL},
#endif