All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 4/4] mac80211: allow changing port control protocol
Date: Fri, 27 Aug 2010 13:13:30 +0200	[thread overview]
Message-ID: <1282907610.4377.4.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1282907259-30825-5-git-send-email-juuso.oikarinen@nokia.com>

On Fri, 2010-08-27 at 14:07 +0300, Juuso Oikarinen wrote:

> @@ -855,6 +855,8 @@ static void ieee80211_setup_sdata(struct ieee80211_sub_if_data *sdata,
>  	sdata->dev->netdev_ops = &ieee80211_dataif_ops;
>  	sdata->wdev.iftype = type;
>  
> +	sdata->control_port_protocol = cpu_to_be16(ETH_P_PAE);
> +

I believe we may also need to set control_port_no_encrypt to false here,
or we'll run into issues with interface type switching after it had been
true?

johannes


  reply	other threads:[~2010-08-27 11:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27 11:07 [PATCH 0/4] mac80211: cfg80211: support for hw-only crypts and custom control port protocols Juuso Oikarinen
2010-08-27 11:07 ` [PATCH 1/4] cfg80211: allow vendor specific cipher suites Juuso Oikarinen
2010-08-27 11:07 ` [PATCH 2/4] mac80211: " Juuso Oikarinen
2010-08-27 11:07 ` [PATCH 3/4] cfg80211: allow changing port control protocol Juuso Oikarinen
2010-08-27 11:07 ` [PATCH 4/4] mac80211: " Juuso Oikarinen
2010-08-27 11:13   ` Johannes Berg [this message]
2010-08-27 11:18     ` Juuso Oikarinen

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=1282907610.4377.4.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=juuso.oikarinen@nokia.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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 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.