Re: [PATCH] mac80211: reduce the amount of unnecessary traffic on cooked monitor interfaces

Johannes Berg
2009-11-14T09:36:11Z

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

On Sat, 2009-11-14 at 10:23 +0100, Johannes Berg wrote:

> > + if ((sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) &&
> > + !(info->flags & IEEE80211_TX_CTL_INJECTED) &&
> > + (type == IEEE80211_FTYPE_DATA))
> > + continue;
> > +
>
> This patch also breaks IEEE 802.11 compliance. :)

Oh no, it doesn't, wrong code path.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]