From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx> The MAP specification defines ParameterMask as a bitmask of 32 bit / 4 bytes. For the lower 16 bit the specification defines parameters, the higher 16 bit remain reserved for future use. Therefore FILTER_ALL is set to 0x0000FFFF. (Reserved bits have to be set to 0) In addition this fixes the issue that ListFilterFields didn't show all fields. --- obexd/client/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/client/map.c b/obexd/client/map.c index afb5f9a..cea9369 100644 --- a/obexd/client/map.c +++ b/obexd/client/map.c @@ -75,7 +75,7 @@ static const char * const filter_list[] = { }; #define FILTER_BIT_MAX 15 -#define FILTER_ALL 0xFF +#define FILTER_ALL 0x0000FFFF #define STATUS_READ 0 #define STATUS_DELETE 1 -- 1.8.1 -- 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