On Thu, 2013-01-24 at 11:12 +0200, Luciano Coelho wrote: > > > Also, is there any specific reason you want to know the original length? > > > Just to check whether the packet was truncated or not? > > > > Yeah our device has a certain buffer size only (it's pretty large) but > > the packet could be truncated due to that, so I added that to be able to > > see that truncation. > > The actual length of the packet is irrelevant isn't it? Maybe a boolean > just indicating it's truncated? Not really that important though, just > for a bit more clarity. I have no idea if the actual length is irrelevant ;-) Most likely it is, but maybe somebody wants to know how much data was missing? I have the information, so I didn't want to hide it... johannes -- 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