summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2015-01-20 23:12:31 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-03-16 16:51:42 -0700
commitf105417abd42ccdc3c36a154a86596d5aa5ae424 (patch)
tree860c5df146d78459f74ec87e9f54489fcf5ffc92 /include
parent41e319644db0b951c8c08fb3b50cbb0e1778b381 (diff)
downloadandroid_system_bt-f105417abd42ccdc3c36a154a86596d5aa5ae424.tar.gz
android_system_bt-f105417abd42ccdc3c36a154a86596d5aa5ae424.tar.bz2
android_system_bt-f105417abd42ccdc3c36a154a86596d5aa5ae424.zip
Collapse BNEP #defines that don't need to be configurable.
In some instances, defining these macros to FALSE would result in broken runtime behavior (e.g. UUID fields containing uninitialized values). This change collapses the following defines: BNEP_SUPPORTS_PROT_FILTERS BNEP_SUPPORTS_MULTI_FILTERS BNEP_SUPPORTS_DEBUG_DUMP BNEP_SUPPORTS_ALL_UUID_LENGTHS
Diffstat (limited to 'include')
-rw-r--r--include/bt_target.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/bt_target.h b/include/bt_target.h
index b3dc33c9e..1e99670b2 100644
--- a/include/bt_target.h
+++ b/include/bt_target.h
@@ -1091,30 +1091,11 @@
#define BNEP_INCLUDED TRUE
#endif
-/* Protocol filtering is an optional feature. Bydefault it will be turned on */
-#ifndef BNEP_SUPPORTS_PROT_FILTERS
-#define BNEP_SUPPORTS_PROT_FILTERS TRUE
-#endif
-
-/* Multicast filtering is an optional feature. Bydefault it will be turned on */
-#ifndef BNEP_SUPPORTS_MULTI_FILTERS
-#define BNEP_SUPPORTS_MULTI_FILTERS TRUE
-#endif
-
/* BNEP status API call is used mainly to get the L2CAP handle */
#ifndef BNEP_SUPPORTS_STATUS_API
#define BNEP_SUPPORTS_STATUS_API TRUE
#endif
-/* This is just a debug function */
-#ifndef BNEP_SUPPORTS_DEBUG_DUMP
-#define BNEP_SUPPORTS_DEBUG_DUMP TRUE
-#endif
-
-#ifndef BNEP_SUPPORTS_ALL_UUID_LENGTHS
-#define BNEP_SUPPORTS_ALL_UUID_LENGTHS TRUE /* Otherwise it will support only 16bit UUIDs */
-#endif
-
/*
** When BNEP connection changes roles after the connection is established
** we will do an authentication check again on the new role