On Dec 10, 2007 2:08 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > > - if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == > > - cpu_to_le16(IEEE80211_FTYPE_CTL)) > > + if (((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == > > + cpu_to_le16(IEEE80211_FTYPE_CTL)) && > > + ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE)) != > > + cpu_to_le16(IEEE80211_STYPE_PSPOLL))) > > Hm. Don't we have macros for this? > Not in mac80211 as far as I know. There were some in ieee80211. Iwlwifi have them in iwl-helpers.h as inline functions Tomas - 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