[PATCH] libertas: revert CAPINFO_MASK to its original value

Luis Carlos Cobo luisca at cozybit.com
Tue Jul 17 13:31:16 EDT 2007


On 7/17/07, David Woodhouse <dwmw2 at infradead.org> wrote:
> Is this going to work correctly on big-endian machines too?

We save the capability vector from the scan with

bss->capability = le16_to_cpup((void *) pos);

and then after ANDing it with CAPINFO_MASK we convert it again from
cpu to le16 before passing it to the firmware, so I would say we need
to adapt the mask for big endian. It would be great If you have some
big endian box around and can test it


-- 
Luis Carlos Cobo Rus       GnuPG ID: 44019B60
cozybit Inc.



More information about the libertas-dev mailing list