On Thursday 21 June 2007 06:39, Johannes Berg wrote: > + skb_set_network_header(skb, len + sizeof(struct ieee80211_hdr)); > + skb_set_transport_header(skb, len + sizeof(struct ieee80211_hdr)); > + Hm, just noticed a potential problem with this. sizeof(struct ieee80211_hdr) can't be used since ieee80211 headers are variable sized and the smallest frames can end up being smaller than the 4 addr header. -Michael Wu
Attachment:
pgpTjDyfEhaGo.pgp
Description: PGP signature