Re: [PATCH v2 1/2] Simplify eir_parse function

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

 



Hi,

2011/10/20 Andrei Emeltchenko <andrei.emeltchenko.news@xxxxxxxxx>:
>> Just change this all to:
>>
>>               service.value.uuid32 = bt_get_unaligned(btohl(u32));
>
> btohl(bt_get_unaligned(u32))
> maybe we could also use get_u32() ?

There is also att_get_u32()  in attrib/att.h (exact same code). Maybe
we need some code reuse here :)

Regards,
--
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
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