From: Arend van Spriel <arend@broadcom.com>
To: Luca Coelho <luca@coelho.fi>
Cc: Johannes Berg <johannes@sipsolutions.net>,
<linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: add back support for radiotap vendor namespace data
Date: Sat, 8 Nov 2014 14:33:11 +0100 [thread overview]
Message-ID: <545E1B97.9030104@broadcom.com> (raw)
In-Reply-To: <1D96301C-ADA3-4A41-9E1D-97D5A5C82B94@coelho.fi>
On 11/07/14 20:37, Luca Coelho wrote:
> On November 7, 2014 9:15:21 PM EET, Johannes Berg<johannes@sipsolutions.net> wrote:
>> On Fri, 2014-11-07 at 14:37 +0200, Luca Coelho wrote:
>>
>>>> +#if 0
>>>> + struct ieee80211_vendor_radiotap *rtap;
>>>> +
>>>> + rtap = (void *)skb_push(skb, sizeof(*rtap) + 8 + 4);
>>>> + /*
>>>> + * Don't enable this code by default as the OUI 00:00:00
>>>> + * is registered to Xerox so we shouldn't use it here, it
>>>> + * might find its way into pcap files.
>>>> + * Note that this code requires the headroom in the SKB
>>>> + * that was allocated earlier.
>>>> + */
>>
>>> Is this #if 0'ed section here on purpose? If yes, maybe explain it in
>>> the commit message?
>>
>> You're the second person to ask this, but come on ... really? :)
>
> Okay, I know I'm missing something. But i just hate #if 0s, especially when I don't easily understand the need for them.
Hi Luca,
You should read the comment block in the '#if 0' section. Maybe it helps :-p
Regards,
Arend
>
>>
>> johannes
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-11-08 13:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 22:29 [PATCH] mac80211: add back support for radiotap vendor namespace data Johannes Berg
2014-11-06 22:31 ` Ben Greear
2014-11-06 22:32 ` Johannes Berg
2014-11-07 12:37 ` Luca Coelho
2014-11-07 19:15 ` Johannes Berg
2014-11-07 19:37 ` Luca Coelho
2014-11-08 13:33 ` Arend van Spriel [this message]
2014-11-10 6:49 ` Luca Coelho
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=545E1B97.9030104@broadcom.com \
--to=arend@broadcom.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=luca@coelho.fi \
/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).