> - 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? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part