Linux wireless drivers development
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@nokia.com>
To: linux-wireless@vger.kernel.org
Cc: geryk@ti.com
Subject: Re: [PATCH] wl12xx: disable 11a channels when wl->enable_11a is known
Date: Wed, 15 Dec 2010 15:00:38 +0200	[thread overview]
Message-ID: <1292418038.32385.0.camel@chilepepper> (raw)
In-Reply-To: <1291388740-27218-1-git-send-email-luciano.coelho@nokia.com>

On Fri, 2010-12-03 at 17:05 +0200, luciano.coelho@nokia.com wrote:
> From: Luciano Coelho <luciano.coelho@nokia.com>
> 
> Disabling the 11a channels when not supported in the reg_notify function was
> not working as it should, because when the driver is initiailizing (and
> registering itself with mac80211), it would get the reg notification too
> early.  At that point the driver wouldn't have received the NVS yet, so it
> wouldn't know whether 11a was supported.
> 
> To fix this, we disable 11a channels when we read the NVS instead.  Also, it
> is easier (and still safe) to set n_channels to zero instead of setting the
> disabled flag on every 11a channel.
> 
> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>

Applied.

-- 
Cheers,
Luca.


      reply	other threads:[~2010-12-15 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 15:05 [PATCH] wl12xx: disable 11a channels when wl->enable_11a is known luciano.coelho
2010-12-15 13:00 ` Luciano Coelho [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=1292418038.32385.0.camel@chilepepper \
    --to=luciano.coelho@nokia.com \
    --cc=geryk@ti.com \
    --cc=linux-wireless@vger.kernel.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