[PATCH] libertas: revert CAPINFO_MASK to its original value
Dan Williams
dcbw at redhat.com
Thu Jul 19 13:02:43 EDT 2007
On Wed, 2007-07-18 at 19:47 +0200, David Woodhouse wrote:
> On Tue, 2007-07-17 at 13:42 -0400, Dan Williams wrote:
> > I don't think we do need to do anything endian for it, but I could be
> > wrong. In the driver, we will always store capability as CPU byte
> > order. And the constant will always be in CPU byte order too, so
> > AND-ing the two should work.
>
> I had a feeling it was part of a memcpy somewhere. Not in a position to
> check right now, till I get home at the end of the week.
No, shouldn't be any more. It's just &-ed with the ->capability field
of the bss_desc structure now, and converted to LE16 _after_ all the
bitops are complete. It's only used in a few places in join.c, to which
I've just moved the define.
Dan
More information about the libertas-dev
mailing list