Search Linux Wireless

Re: [PATCH 1/1 v3] cfg80211: wext: fix cfg80211's SIOCSIWAP function

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

 



On Sat, 2010-01-30 at 09:35 +0100, Johannes Berg wrote:

> >  		wdev->conn->params.ssid_len = connect->ssid_len;
> > +		if (connect->ssid_len) {
> > +			memcpy(wdev->ssid, connect->ssid, connect->ssid_len);
> > +			wdev->conn->params.ssid = wdev->ssid;
> > +		}
> > +		else
> > +			wdev->conn->params.ssid = NULL;
> 
> I don't think I understand this. The wdev->conn->params are initialised
> from "connect", and now you're copying the data back again? That's not
> making sense to me.

Hmm, so setting the ssid to NULL would make it impossible to connect to
any network, no?

I don't think I understand what you want to achieve. Are you, by any
chance, trying to get it to connect to an AP without ever specifying an
SSID? That can't really be supported (nor ever was by mac80211).

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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