summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-10-27 17:54:17 +0000
committersam <sam@FreeBSD.org>2008-10-27 17:54:17 +0000
commitafcf4b4bc74cb08985363e80a999d6738a65b4c3 (patch)
treeeff2087107fad34b86acf4cac88ef568f57635fd
parente8916f6cef97308b0a2822de9e6577e53e694a3e (diff)
downloadFreeBSD-src-afcf4b4bc74cb08985363e80a999d6738a65b4c3.zip
FreeBSD-src-afcf4b4bc74cb08985363e80a999d6738a65b4c3.tar.gz
install bssid for ahdemo mode too
-rw-r--r--sys/dev/ath/if_ath.c1
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;
OpenPOWER on IntegriCloud