diff options
author | sam <sam@FreeBSD.org> | 2008-10-27 17:54:17 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-10-27 17:54:17 +0000 |
commit | afcf4b4bc74cb08985363e80a999d6738a65b4c3 (patch) | |
tree | eff2087107fad34b86acf4cac88ef568f57635fd | |
parent | e8916f6cef97308b0a2822de9e6577e53e694a3e (diff) | |
download | FreeBSD-src-afcf4b4bc74cb08985363e80a999d6738a65b4c3.zip FreeBSD-src-afcf4b4bc74cb08985363e80a999d6738a65b4c3.tar.gz |
install bssid for ahdemo mode too
-rw-r--r-- | sys/dev/ath/if_ath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 47236f6..23a7763 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -5673,6 +5673,7 @@ ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) ni = vap->iv_bss; rfilt = ath_calcrxfilter(sc); stamode = (vap->iv_opmode == IEEE80211_M_STA || + vap->iv_opmode == IEEE80211_M_AHDEMO || vap->iv_opmode == IEEE80211_M_IBSS); if (stamode && nstate == IEEE80211_S_RUN) { sc->sc_curaid = ni->ni_associd; |