2009/6/26 Johannes Berg <johannes@xxxxxxxxxxxxxxxx>: > Hmm, looks like there might be another polarity error, try this: > - int query = BIT(b + 8) | ((!!blocked) << b); > + int query = BIT(b + 8) | ((!blocked) << b); > This helps. hp-wmi works without any problems. Tested-by Maciej Rutecki <maciej.rutecki@xxxxxxxxx> Thanks -- Maciej Rutecki http://www.maciek.unixy.pl -- 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