From: Johannes Berg <johannes@sipsolutions.net>
To: Luca Coelho <luca@coelho.fi>
Cc: Jukka Rissanen <jukka.rissanen@linux.intel.com>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2 1/2] nl80211: Replace interface socket owner attribute with more generic one
Date: Wed, 12 Nov 2014 12:52:44 +0100 [thread overview]
Message-ID: <1415793164.1798.1.camel@sipsolutions.net> (raw)
In-Reply-To: <1415792829.3117.5.camel@coelho.fi> (sfid-20141112_124722_682283_2206FE4A)
On Wed, 2014-11-12 at 13:47 +0200, Luca Coelho wrote:
> On Wed, 2014-11-12 at 13:36 +0200, Jukka Rissanen wrote:
> > @@ -2056,6 +2056,8 @@ enum nl80211_attrs {
> > #define NL80211_ATTR_KEY NL80211_ATTR_KEY
> > #define NL80211_ATTR_KEYS NL80211_ATTR_KEYS
> > #define NL80211_ATTR_FEATURE_FLAGS NL80211_ATTR_FEATURE_FLAGS
> > +#define NL80211_ATTR_IFACE_SOCKET_OWNER NL80211_ATTR_SOCKET_OWNER
> > +#define NL80211_ATTR_SOCKET_OWNER NL80211_ATTR_SOCKET_OWNER
>
> The second define seems to be a mistake?
Yes, both are wrong here. We played with defining some attributes to
themselves to allow #ifdef feature detection, but that didn't really
work out well and now we just copy nl80211.h to the userspace tools
needing a recent version. I think that's no longer needed now.
There should already be a second block of #ifdefs though that has
renamed ones, so you should add this one there.
Your patch is also missing signed-off-by.
johannes
next prev parent reply other threads:[~2014-11-12 11:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-12 11:36 [PATCH v2 0/2] Stop scheduled scan if netlink client disappears Jukka Rissanen
2014-11-12 11:36 ` [PATCH v2 1/2] nl80211: Replace interface socket owner attribute with more generic one Jukka Rissanen
2014-11-12 11:47 ` Luca Coelho
2014-11-12 11:52 ` Johannes Berg [this message]
2014-11-12 11:36 ` [PATCH v2 2/2] nl80211: Stop scheduled scan if netlink client disappears Jukka Rissanen
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=1415793164.1798.1.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=jukka.rissanen@linux.intel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.