Search Linux Wireless

Re: [PATCH 2/3] mac80211: IEEE802.11e/WMM TS management and DLS support

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

 



On Thursday 24 May 2007 00:34, Zhu Yi wrote:
> > > + if (dls_link_status(&sdata->u.sta, hdr.addr1) == DLS_STATUS_OK){
> >
> > How is this line suppose to work? I don't see hdr.addr1 initialized at
> > any point before this.
>
> DLS must be setup before it can be used. The addr1 is inserted into the
> dls hash table when the QSTA received a successful DLS response or
> accepted a DLS request.
>
AFAICT, dls_link_status uses the second argument to look up the dls entry for 
the destination address. At this point, hdr.addr1 is not initialized to 
anything, so something is wrong here.

-Michael Wu

Attachment: pgpv4XyUbNwUx.pgp
Description: PGP signature


[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