From: Luciano Coelho <luciano.coelho@nokia.com>
To: "Oikarinen Juuso (Nokia-MS/Tampere)" <juuso.oikarinen@nokia.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 1/2] wl1271: Prevent ad-hoc and active scanning on 11a DFS frequencies
Date: Thu, 11 Nov 2010 11:35:34 +0200 [thread overview]
Message-ID: <1289468134.1606.16.camel@powerslave> (raw)
In-Reply-To: <1289384840-28305-1-git-send-email-juuso.oikarinen@nokia.com>
On Wed, 2010-11-10 at 11:27 +0100, Oikarinen Juuso (Nokia-MS/Tampere)
wrote:
> From: Juuso Oikarinen <juuso.oikarinen@nokia.com>
>
> The wl1271 does not support radar detection. Hence, prevent ad-hoc and
> active scanning on frequencies requiring DFS.
>
> Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
> ---
This looks good, except for the typo described below.
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
> diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
> index f5b1d19..eb9f821 100644
> --- a/drivers/net/wireless/wl12xx/wl1271_main.c
> +++ b/drivers/net/wireless/wl12xx/wl1271_main.c
> @@ -335,6 +335,27 @@ out:
> return NOTIFY_OK;
> }
>
> +static int wl1271_reg_notify(struct wiphy *wiphy,
> + struct regulatory_request *request) {
> + struct ieee80211_supported_band *band;
> + struct ieee80211_channel *ch;
> + int i;
> +
> + band = wiphy->bands[IEEE80211_BAND_5GHZ];
> + for (i = 0; i < band->n_channels; i++) {
> + ch = &band->channels[i];
> + if (ch->flags % IEEE80211_CHAN_DISABLED)
Typo here, should be & instead of %. I'll fix it myself before
applying, so no need to resend.
--
Cheers,
Luca.
next prev parent reply other threads:[~2010-11-11 9:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-10 10:27 [PATCH 1/2] wl1271: Prevent ad-hoc and active scanning on 11a DFS frequencies juuso.oikarinen
2010-11-10 10:27 ` [PATCH 2/2] Revert "wl1271: Change supported channel order for a more optimal scan" juuso.oikarinen
2010-11-10 11:18 ` Gery Kahn
2010-11-10 11:21 ` Juuso Oikarinen
2010-11-10 11:36 ` Gery Kahn
2010-11-10 11:42 ` Juuso Oikarinen
2010-11-11 19:47 ` Gery Kahn
2010-11-10 11:02 ` [PATCH 1/2] wl1271: Prevent ad-hoc and active scanning on 11a DFS frequencies Tuomas Katila
2010-11-11 9:35 ` Luciano Coelho [this message]
2010-11-11 12:15 ` Luciano Coelho
2010-11-17 6:52 ` Gabay, Benzy
2010-11-17 7:00 ` Juuso Oikarinen
2010-11-17 8:25 ` Gabay, Benzy
2010-11-17 8:34 ` Juuso Oikarinen
2010-11-17 9:57 ` Bruno Randolf
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=1289468134.1606.16.camel@powerslave \
--to=luciano.coelho@nokia.com \
--cc=juuso.oikarinen@nokia.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;
as well as URLs for NNTP newsgroup(s).