[PATCH] ssb: Make ssb_wait_bit multi-bit safe
mb at bu3sch.de
Mon Feb 14 18:59:29 EST 2011
On Tue, 2011-02-15 at 00:44 +0100, Rafał Miłecki wrote:
> 2011/2/15 Michael Büsch <mb at bu3sch.de>:
> > ssb_wait_bit was designed for only one-bit bitmasks.
> > People start using it for multi-bit bitmasks. Make the "set" case
> > is safe for this. The "unset" case is already safe.
> Thanks :)
This should not change the behavior of your patch, though,
as you only add an "unset" case, which was already correct.
So this doesn't fix an actual bug but rather hardens the code
for future use.
More information about the b43-dev