mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tomas Winkler" <tomasw@gmail.com>
To: "Chatre, Reinette" <reinette.chatre@intel.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	"Roel Kluin" <12o3l@tiscali.nl>, "Zhu, Yi" <yi.zhu@intel.com>,
	linux-wireless@vger.kernel.org,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][RESEND] wireless: convert !X & Y to !(X & Y) iniwl4965_is_fat_tx_allowed()
Date: Tue, 25 Mar 2008 20:59:49 +0200	[thread overview]
Message-ID: <1ba2fa240803251159p70de1d51jc739b9d141922da3@mail.gmail.com> (raw)
In-Reply-To: <D936D925018D154694D8A362EEB08920040372DB@orsmsx416.amr.corp.intel.com>

On Tue, Mar 25, 2008 at 8:26 PM, Chatre, Reinette
<reinette.chatre@intel.com> wrote:
>
> On Tuesday, March 25, 2008 10:42 AM, John W. Linville  wrote:
>
>  > On Tue, Mar 25, 2008 at 09:30:58AM -0700, Chatre, Reinette wrote:
>  >> On Tuesday, March 25, 2008 9:04 AM, Roel Kluin  wrote:
>  >>
>  >>> from include/linux/ieee80211.h:274:
>  >>> #define IEEE80211_HT_CAP_SUP_WIDTH              0x0002 ---
>  >>> ! has a higher priority than &
>  >>>
>  >>> Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
>  >>> ---
>  >>> diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c
>  >>> b/drivers/net/wireless/iwlwifi/iwl-4965.c
>  >>> index d727de8..6576757 100644
>  >>> --- a/drivers/net/wireless/iwlwifi/iwl-4965.c
>  >>> +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
>  >>> @@ -4589,7 +4589,7 @@ static u8
>  >>> iwl4965_is_fat_tx_allowed(struct iwl4965_priv *priv,
>  >>>
>  >>>     if (sta_ht_inf) {
>  >>>             if ((!sta_ht_inf->ht_supported) ||
>  >>> -              (!sta_ht_inf->cap & IEEE80211_HT_CAP_SUP_WIDTH))
>  >>> +              (!(sta_ht_inf->cap & IEEE80211_HT_CAP_SUP_WIDTH)))
>  return 0;
>  >>>     }
>  >>
>  >> This patch has already been acked and merged into wireless-testing,
>  >> and afaik already pushed further upstream.
>  >
>  > Yes, but FWIW the problem exists in the 2.6.25 stream as well.
>  > I've been holding-back a patch to fix it there, trying to decide if it
>  > is worth creating the merge conflict to fix it there.  I'm inclined
>  > to think it is better to let things lay as they are and send that
>  > patch for the -stable series once 2.6.25 ships.
>  >
>  > Any thoughts on that?
>
>  I see. The patch is small and I thus assume a merge conflict will be
>  easy to resolve. Yet ... I do not know what is really involved in the
>  upstream code movements, while I know that you do. If you say it is
>  better to wait until stable then I am ok with it.

I have to find the patch but I believe we've published a fix for this
long before this particular patch was born.
Anyhow if HT is enabled in 2.6.25 I would prefer  a conflict then a bug.

Thanks
Tomas

      reply	other threads:[~2008-03-25 19:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 16:03 [PATCH][RESEND] wireless: convert !X & Y to !(X & Y) in iwl4965_is_fat_tx_allowed() Roel Kluin
2008-03-25 16:30 ` Chatre, Reinette
2008-03-25 17:42   ` John W. Linville
2008-03-25 18:26     ` [PATCH][RESEND] wireless: convert !X & Y to !(X & Y) iniwl4965_is_fat_tx_allowed() Chatre, Reinette
2008-03-25 18:59       ` Tomas Winkler [this message]

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=1ba2fa240803251159p70de1d51jc739b9d141922da3@mail.gmail.com \
    --to=tomasw@gmail.com \
    --cc=12o3l@tiscali.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=reinette.chatre@intel.com \
    --cc=yi.zhu@intel.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

all inboxes | Powered by JetHome®