Search Linux Wireless

Re: [PATCH 4/4] mac80211: allow changing port control protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-08-27 at 13:13 +0200, ext Johannes Berg wrote:
> 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?

Sounds valid. I'll send v2 still.

-Juuso

> johannes
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux