Re: [PATCH] eir: Use unsigned int for flags in struct eir_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Szymon,

On Fri, Mar 21, 2014, Szymon Janc wrote:
> This adds assumption that if flags field is not present in EIR all
> flags are unset:
> "The Flags data type shall be included when any of the Flag bits are
> non-zero, otherwise the Flags data type may be omitted."
> 
> This also fix reporting non-discoverable LE devices as limited
> discoverable due to no explicit check for flags == -1 as empty
> flags.
> ---
>  src/eir.c       |  2 +-
>  src/eir.h       |  2 +-
>  unit/test-eir.c | 18 +++++++++---------
>  3 files changed, 11 insertions(+), 11 deletions(-)

I applied a slightly modified version of this one, with the explicit
assignments to 0 left out.

Johan
--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux