Search Linux Wireless

Re: [mac80211] mac80211: Support multiple VIFS per AP in debugfs.

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

 



On Tue, 2010-09-21 at 09:25 -0700, Ben Greear wrote:

> > -	snprintf(mac, sizeof(mac), "%pM", sta->sta.addr);
> > +	snprintf(mac, sizeof(mac), "%pM-%s",
> > +		 sta->sta.addr, sta->sdata->name);
> >
> >   	/*
> >   	 * This might fail due to a race condition:
> 
> I got to thinking:  Is there any reason to put the sta.addr in there?
> 
> Maybe just use sta->sdata->name?  Seems it might be easier for
> scripts to deal with?

APs have many STAs

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