On Tue, 2008-06-17 at 18:55 +0200, Johannes Berg wrote: > > + if ((rx->fc & IEEE80211_FCTL_FTYPE) != IEEE80211_FTYPE_MGMT) > > + return RX_CONTINUE; > > Harvey just added a bunch of helper inlines to include/linux/ieee80211.h > for stuff like that, I think you could use one of them here. Afraid not, rx->fc is a u16. The helpers are all for __le16. 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