Changeset 1452

Show
Ignore:
Timestamp:
02/16/06 16:05:23 (3 years ago)
Author:
mrenzmann
Message:

The patch from ticket #312 was incorrectly applied in r1434. This is
fixed by this commit.

Signed-off-by: Jiri Fojtasek <jiti.fojtasek@hlohovec.net>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/net80211/ieee80211_wireless.c

    r1442 r1452  
    34243424        u_int8_t *cp; 
    34253425 
    3426         if (vap != req->vap && vap != req->vap->iv_xrvap)              /* only entries for this vap (or) xrvap */ 
     3426        if (vap != req->vap && vap != req->vap->iv_xrvap)       /* only entries for this vap (or) xrvap */ 
    34273427                return; 
    3428         if (vap->iv_opmode == IEEE80211_M_HOSTAP && 
    3429             ni->ni_associd == 0)        /* only associated stations */ 
     3428        if ((vap->iv_opmode == IEEE80211_M_HOSTAP || 
     3429             vap->iv_opmode == IEEE80211_M_WDS) && 
     3430            ni->ni_associd == 0)                                /* only associated stations or a WDS peer */ 
    34303431                return; 
    3431         if (ni->ni_chan == IEEE80211_CHAN_ANYC) /* XXX bogus entry */ 
     3432        if (ni->ni_chan == IEEE80211_CHAN_ANYC)                /* XXX bogus entry */ 
    34323433                return; 
    34333434        len = sta_space(ni, &ielen);