Allow WDS nodes with cloned BSSID

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2920 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2007-11-22 03:36:48 +00:00
parent 2a7bdfd500
commit aa7fddfba7

View File

@ -1291,8 +1291,7 @@ ath_vap_create(struct ieee80211com *ic, const char *name,
/* Use RadioTAP interface type for monitor mode. */ /* Use RadioTAP interface type for monitor mode. */
dev->type = ARPHRD_IEEE80211_RADIOTAP; dev->type = ARPHRD_IEEE80211_RADIOTAP;
if ((flags & IEEE80211_CLONE_BSSID) && if ((flags & IEEE80211_CLONE_BSSID) && sc->sc_hasbmask) {
opmode != IEEE80211_M_WDS && sc->sc_hasbmask) {
struct ieee80211vap *v; struct ieee80211vap *v;
unsigned int id_mask, id; unsigned int id_mask, id;