On Friday 28 November 2008 06:34:34 Shaddy Baddah wrote: > case the same simple function replacement would not be OK. But I saw > several places where memcmp() is preferred to compare_ether_addr(), > which I assume indicates that mac80211 does not expect alignment of > 80211 packets passed to it. The whole networking stack expects 4byte alignment and the driver _must_ make sure it is this way. Either by padding a constant number of bytes at the front of each allocated SKB, or (if the alignment differs) use dynamic checks for the lowest few bits of the pointer passed to mac80211. -- 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