linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bob Copeland" <me@bobcopeland.com>
To: "Harvey Harrison" <harvey.harrison@gmail.com>
Cc: "Johannes Berg" <johannes@sipsolutions.net>,
	"John Linville" <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC-PATCH] mac80211: add helpers for common frame_control testing
Date: Thu, 5 Jun 2008 09:55:32 -0400	[thread overview]
Message-ID: <b6c5339f0806050655m92bd361sbc048230c4bb9286@mail.gmail.com> (raw)
In-Reply-To: <1212633200.6340.52.camel@brick>

On Wed, Jun 4, 2008 at 10:33 PM, Harvey Harrison
<harvey.harrison@gmail.com> wrote:
> +static inline int ieee80211_has_a4(struct ieee80211_hdr *hdr)
> +{
> +       __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_TODS);
> +       return (hdr->frame_control & tmp) == tmp;
> +}

One should be FROMDS?

-- 
Bob Copeland %% www.bobcopeland.com

  reply	other threads:[~2008-06-05 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05  2:33 [RFC-PATCH] mac80211: add helpers for common frame_control testing Harvey Harrison
2008-06-05 13:55 ` Bob Copeland [this message]
2008-06-05 18:16   ` Harvey Harrison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6c5339f0806050655m92bd361sbc048230c4bb9286@mail.gmail.com \
    --to=me@bobcopeland.com \
    --cc=harvey.harrison@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).