Search Linux Wireless

Re: [PATCH] mac80211: add control port protocol TX control flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2013-08-06 at 13:40 +0300, Eliad Peller wrote:

> >  static inline bool iwl_trace_data(struct sk_buff *skb)
> >  {
> >         struct ieee80211_hdr *hdr = (void *)skb->data;
> > +       struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
> >
> >         if (ieee80211_is_data(hdr->frame_control))
> > -               return skb->protocol != cpu_to_be16(ETH_P_PAE);
> > +               return info->control.flags & IEEE80211_TX_CTRL_PORT_CTRL_PROTO;
> >         return false;
> >  }
> this looks reversed...

Good catch, thanks.

johannes

--
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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux