On Fri, Mar 05, 2010 at 03:32:55PM +0900, Bruno Randolf wrote: Um, disregard my mask thing, that was the original bug (-128 when masked to 6 bits overflows). Still, we can use: i_coff = clamp(i_coff, -32, 31); -- Bob Copeland %% www.bobcopeland.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html