SAP_DISCONNECTION_TYPE_CLIENT is an implementation detail and is not specified by SAP profile specification. --- sap/sap.h | 3 +-- sap/server.c | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sap/sap.h b/sap/sap.h index 1dbb235..30301bd 100644 --- a/sap/sap.h +++ b/sap/sap.h @@ -40,8 +40,7 @@ enum sap_status { /* Disconnection Type - SAP v1.1 section 5.2.3 */ enum sap_disconnection_type { SAP_DISCONNECTION_TYPE_GRACEFUL = 0x00, - SAP_DISCONNECTION_TYPE_IMMEDIATE = 0x01, - SAP_DISCONNECTION_TYPE_CLIENT = 0xFF + SAP_DISCONNECTION_TYPE_IMMEDIATE = 0x01 }; /* Result codes - SAP v1.1 section 5.2.4 */ diff --git a/sap/server.c b/sap/server.c index e5effac..b37a8e2 100644 --- a/sap/server.c +++ b/sap/server.c @@ -50,6 +50,7 @@ #define PARAMETER_SIZE(x) (sizeof(struct sap_parameter) + x + PADDING4(x)) #define SAP_NO_REQ 0xFF +#define SAP_DISCONNECTION_TYPE_CLIENT 0xFF #define SAP_TIMER_GRACEFUL_DISCONNECT 30 #define SAP_TIMER_NO_ACTIVITY 30 -- on behalf of ST-Ericsson -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html