On Fri, 14 Oct 2011 11:30:10 -0500 Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote: > I am pretty sure that the compiler would optimize out the entire htol16_buf > routine. After substitution for cpu_to_le16() on a little-endian system, the > statement in the while loop becomes '*(buf + size) = *(buf + size)', which is (There also is cpu_to_le16s(). Just for the record.) -- Greetings, Michael. -- 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