On Sun, 2008-04-20 at 19:36 -0700, Harvey Harrison wrote: > - hdrlen += (fc & IEEE80211_STYPE_QOS_DATA) > - >> (ilog2(IEEE80211_STYPE_QOS_DATA)-1); > + if (fc & IEEE80211_STYPE_QOS_DATA) > + hdrlen += 2; You need also take other QoS types (i.e QOS_NULLFUNC) into consideration. Please take a look at WLAN_FC_IS_QOS_DATA macro. Thanks, -yi -- 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