> +static inline int ieee80211_data_has_qos(__le16 fc) > +{ > + /* > + * mask with QOS_DATA rather than IEEE80211_FCTL_STYPE as we just need > + * to check the one bit > + */ > + return (fc & > + cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_STYPE_QOS_DATA)) == > + cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_DATA); > +} Shouldn't that rather be _is_qos_data? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part