ssb: Make ssb_wait_bit multi-bit safe
authorMichael Büsch <mb@bu3sch.de>
Mon, 14 Feb 2011 23:21:50 +0000 (00:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Feb 2011 21:53:20 +0000 (16:53 -0500)
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.

This does not change behavior of the current code.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found