On Tue, 2008-03-11 at 17:14 +0100, Johannes Berg wrote: > On Sat, 2008-03-08 at 01:23 -0800, Harvey Harrison wrote: > > Opencoded byte-swapping could just use the kernel helper. > > > + p1k[2] = le16_to_cpup(leptr++); > > I'm ok with this if architectures guarantee that these operations work > on unaligned values, but I don't think that is the case. > I'm looking into this, but I'm pretty sure this isn't right as-is. I wasn't thinking about alignment at the time, just ignore this. Harvey -- 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