svn commit: r184361 - head/sys/dev/ath

Sam Leffler sam at FreeBSD.org
Mon Oct 27 10:54:17 PDT 2008


Author: sam
Date: Mon Oct 27 17:54:17 2008
New Revision: 184361
URL: http://svn.freebsd.org/changeset/base/184361

Log:
  install bssid for ahdemo mode too

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Mon Oct 27 17:53:34 2008	(r184360)
+++ head/sys/dev/ath/if_ath.c	Mon Oct 27 17:54:17 2008	(r184361)
@@ -5673,6 +5673,7 @@ ath_newstate(struct ieee80211vap *vap, e
 	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;


More information about the svn-src-all mailing list