linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com
Subject: Re: [PATCH 2/2] mac80211: add support for setting the ad-hoc multicast rate
Date: Wed, 17 Nov 2010 04:00:53 +0100	[thread overview]
Message-ID: <4CE34565.6040204@openwrt.org> (raw)
In-Reply-To: <1289946471.3673.14.camel@jlt3.sipsolutions.net>

On 2010-11-16 11:27 PM, Johannes Berg wrote:
> On Thu, 2010-11-11 at 15:07 +0100, Felix Fietkau wrote:
> 
>> +	if (mcast_rate) {
>> +		for (i = 0; i < sband->n_bitrates; i++) {
>> +			if (sband->bitrates[i].bitrate == mcast_rate) {
>> +				*idx = i;
>> +				return;
>> +			}
>> +		}
>> +	}
> 
> That conversion loop really shouldn't be in the hotpath.
Seems like the change got merged already, I'll send follow-up fixes soon.

- Felix


  reply	other threads:[~2010-11-17  3:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 14:07 [PATCH 1/2] cfg80211: add support for setting the ad-hoc multicast rate Felix Fietkau
2010-11-11 14:07 ` [PATCH 2/2] mac80211: " Felix Fietkau
2010-11-16 22:27   ` Johannes Berg
2010-11-17  3:00     ` Felix Fietkau [this message]
2010-11-16 22:27 ` [PATCH 1/2] cfg80211: " Johannes Berg
2010-11-16 23:34   ` Felix Fietkau
2010-11-16 23:45     ` Johannes Berg

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=4CE34565.6040204@openwrt.org \
    --to=nbd@openwrt.org \
    --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).