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