Andy Green wrote:
Somebody in the thread at some point said:
BCM43xx_RX_MAX_SSI (60)
+ status.signal = jssi * 100 / BCM43xx_RX_MAX_SSI;
That can't be doing what you intended... (int)100/60 == 1, it just
multiplies jssi by 1. Maybe some brackets around the multiply?
I think gcc does equal rank operations from left to right, and the change does have the desired
result, but the parentheses should be there for clarity.
Thanks,
Larry
-
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