OSDN Git Service

obexd: Fix FILTER_ALL in MAP client to set 16 bit
authorChristian Fetzer <christian.fetzer@bmw-carit.de>
Fri, 11 Jan 2013 15:55:53 +0000 (16:55 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 14 Jan 2013 15:42:04 +0000 (17:42 +0200)
commit90322684e0adef156d0be8499cc3558bb56bf122
tree825321d28fb46fbf50cab5f25691a0708befc14d
parenta1d1ea32dfeea51a3b8227c78915c69c038e8517
obexd: Fix FILTER_ALL in MAP client to set 16 bit

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