Date: Fri, 7 Mar 2008 19:42:36 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137105 for review Message-ID: <200803071942.m27JgaqD080896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137105 Change 137105 by sam@sam_ebb on 2008/03/07 19:41:36 count sta vaps correctly Affected files ... .. //depot/projects/vap/sys/dev/ath/if_ath.c#41 edit Differences ... ==== //depot/projects/vap/sys/dev/ath/if_ath.c#41 (text+ko) ==== @@ -910,8 +910,11 @@ } ic->ic_opmode = ic_opmode; - if (opmode != IEEE80211_M_WDS) + if (opmode != IEEE80211_M_WDS) { sc->sc_nvaps++; + if (opmode == IEEE80211_M_STA) + sc->sc_nstavaps++; + } switch (ic_opmode) { case IEEE80211_M_IBSS: sc->sc_opmode = HAL_M_IBSS;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803071942.m27JgaqD080896>