All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 1/7] ath9k: Remove redundant max_streams assignment
Date: Mon, 13 Feb 2012 12:24:51 +0100	[thread overview]
Message-ID: <4F38F303.3010007@openwrt.org> (raw)
In-Reply-To: <20280.43934.3990.442268@gargle.gargle.HOWL>

On 2012-02-13 7:20 AM, Sujith Manoharan wrote:
> Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
> ---
>  drivers/net/wireless/ath/ath9k/init.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
> index 53a005d..a625c9a 100644
> --- a/drivers/net/wireless/ath/ath9k/init.c
> +++ b/drivers/net/wireless/ath/ath9k/init.c
> @@ -258,8 +258,6 @@ static void setup_ht_cap(struct ath_softc *sc,
>  
>  	if (AR_SREV_9330(ah) || AR_SREV_9485(ah))
>  		max_streams = 1;
> -	else if (AR_SREV_9462(ah))
> -		max_streams = 2;
>  	else if (AR_SREV_9300_20_OR_LATER(ah))
>  		max_streams = 3;
>  	else
I think AR9462 is also matched by AR_SREV_9300_20_OR_LATER(ah), so that
one may not be redundant.

- Felix

WARNING: multiple messages have this Message-ID (diff)
From: Felix Fietkau <nbd@openwrt.org>
To: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org,
	ath9k-devel@lists.ath9k.org
Subject: Re: [PATCH 1/7] ath9k: Remove redundant max_streams assignment
Date: Mon, 13 Feb 2012 12:24:51 +0100	[thread overview]
Message-ID: <4F38F303.3010007@openwrt.org> (raw)
In-Reply-To: <20280.43934.3990.442268@gargle.gargle.HOWL>

On 2012-02-13 7:20 AM, Sujith Manoharan wrote:
> Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
> ---
>  drivers/net/wireless/ath/ath9k/init.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
> index 53a005d..a625c9a 100644
> --- a/drivers/net/wireless/ath/ath9k/init.c
> +++ b/drivers/net/wireless/ath/ath9k/init.c
> @@ -258,8 +258,6 @@ static void setup_ht_cap(struct ath_softc *sc,
>  
>  	if (AR_SREV_9330(ah) || AR_SREV_9485(ah))
>  		max_streams = 1;
> -	else if (AR_SREV_9462(ah))
> -		max_streams = 2;
>  	else if (AR_SREV_9300_20_OR_LATER(ah))
>  		max_streams = 3;
>  	else
I think AR9462 is also matched by AR_SREV_9300_20_OR_LATER(ah), so that
one may not be redundant.

- Felix

  reply	other threads:[~2012-02-13 11:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13  6:20 [ath9k-devel] [PATCH 1/7] ath9k: Remove redundant max_streams assignment Sujith Manoharan
2012-02-13  6:20 ` Sujith Manoharan
2012-02-13 11:24 ` Felix Fietkau [this message]
2012-02-13 11:24   ` Felix Fietkau
2012-02-13 13:07   ` [ath9k-devel] " Sujith Manoharan
2012-02-13 13:07     ` Sujith Manoharan

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=4F38F303.3010007@openwrt.org \
    --to=nbd@openwrt.org \
    --cc=ath9k-devel@lists.ath9k.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 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.