On Thu, 2008-12-11 at 22:58 +0100, Benoit PAPILLAULT wrote: > Padding the 802.11 header to a multiple of 4 bytes needs to be done only > for DATA frames. This fixes a bug where 2 bytes were missing in monitor > mode for ACK frames. Without commenting on whether or not this is needed > /* > @@ -2623,6 +2629,7 @@ ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb) > unsigned long flags; > int hdrlen; > int pad; > + const struct ieee80211_hdr * hdr = (const struct ieee80211_hdr *)skb; skb->data perhaps. 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