linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Antonio Quartulli <ordex@autistici.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] nl/cfg/mac80211: add set_mcast_rate API
Date: Sun, 08 Jul 2012 11:56:26 +0200	[thread overview]
Message-ID: <1341741386.4987.5.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1341739885-15385-1-git-send-email-ordex@autistici.org>

On Sun, 2012-07-08 at 11:31 +0200, Antonio Quartulli wrote:

> +int cfg80211_set_mcast_rate(struct cfg80211_registered_device *rdev,
> +			    struct net_device *dev,
> +			    struct cfg80211_ibss_params *params)

I'd say just inline the function into the nl80211.c handler itself, not
much value in having it separate.


> +	mcast_attr = nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE]);
> +	if (info->attrs[NL80211_ATTR_MCAST_RATE] &&

this is wrong

johannes


  reply	other threads:[~2012-07-08  9:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  9:31 [PATCH] nl/cfg/mac80211: add set_mcast_rate API Antonio Quartulli
2012-07-08  9:56 ` Johannes Berg [this message]
2012-07-08 10:07   ` Antonio Quartulli
2012-07-08 23:51 ` [PATCHv2] " Antonio Quartulli
2012-07-09 13:05   ` Johannes Berg
2012-07-09 13:12     ` Johannes Berg
2012-07-09 13:25       ` Antonio Quartulli
2012-07-09 13:18     ` Antonio Quartulli
2012-07-09 13:19       ` Johannes Berg
2012-07-09 13:27         ` Antonio Quartulli

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=1341741386.4987.5.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=ordex@autistici.org \
    /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).