All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yeoh Chun-Yeow <yeohchunyeow@gmail.com>
To: Luciano Coelho <luca@coelho.fi>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	Simon Wunderlich <sw@simonwunderlich.de>
Subject: Re: [PATCH] nl80211: make sure we check for DFS with mesh channel switch
Date: Fri, 14 Feb 2014 18:56:25 +0800	[thread overview]
Message-ID: <CAEFj985KeAFQkeZ3oWFSR5mgpr9X9fU2n6XTofixnb2yapvg_Q@mail.gmail.com> (raw)
In-Reply-To: <1392373327-12063-1-git-send-email-luca@coelho.fi>

> From: Luciano Coelho <luciano.coelho@intel.com>
>
> Since mesh support for DFS channels was added, we also need to check
> for DFS channels when performing a channel switch with
> NL80211_IFTYPE_MESHPOINT.
>
> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
> ---
>  net/wireless/nl80211.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
> index 1797864..b78d734 100644
> --- a/net/wireless/nl80211.c
> +++ b/net/wireless/nl80211.c
> @@ -5912,7 +5912,8 @@ skip_beacons:
>
>         if (dev->ieee80211_ptr->iftype == NL80211_IFTYPE_AP ||
>             dev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO ||
> -           dev->ieee80211_ptr->iftype == NL80211_IFTYPE_ADHOC) {
> +           dev->ieee80211_ptr->iftype == NL80211_IFTYPE_ADHOC ||
> +           dev->ieee80211_ptr->iftype == NL80211_IFTYPE_MESH_POINT) {
>                 err = cfg80211_chandef_dfs_required(wdev->wiphy,
>                                                     &params.chandef);
>                 if (err < 0) {
> --
> 1.8.5.3
>

Acked-by: Chun-Yeow Yeoh <yeohchunyeow@xxxxxxxxxxxxxxxxxx>

      reply	other threads:[~2014-02-14 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 10:22 [PATCH] nl80211: make sure we check for DFS with mesh channel switch Luciano Coelho
2014-02-14 10:56 ` Yeoh Chun-Yeow [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=CAEFj985KeAFQkeZ3oWFSR5mgpr9X9fU2n6XTofixnb2yapvg_Q@mail.gmail.com \
    --to=yeohchunyeow@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luca@coelho.fi \
    --cc=sw@simonwunderlich.de \
    /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.