Date: Wed, 6 May 2009 20:48:45 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r191859 - projects/mesh11s/sys/dev/ath Message-ID: <200905062048.n46Kmjl9029429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Wed May 6 20:48:45 2009 New Revision: 191859 URL: http://svn.freebsd.org/changeset/base/191859 Log: Prepare beacons in MBSS mode too. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/dev/ath/if_ath.c Modified: projects/mesh11s/sys/dev/ath/if_ath.c ============================================================================== --- projects/mesh11s/sys/dev/ath/if_ath.c Wed May 6 20:24:17 2009 (r191858) +++ projects/mesh11s/sys/dev/ath/if_ath.c Wed May 6 20:48:45 2009 (r191859) @@ -3213,10 +3213,12 @@ ath_beacon_config(struct ath_softc *sc, } while (nexttbtt < tsftu); } ath_beaconq_config(sc); - } else if (ic->ic_opmode == IEEE80211_M_HOSTAP) { + } else if (ic->ic_opmode == IEEE80211_M_HOSTAP || + ic->ic_opmode == IEEE80211_M_MBSS) { /* - * In AP mode we enable the beacon timers and - * SWBA interrupts to prepare beacon frames. + * In AP mode and mesh mode we enable the beacon + * timers and * SWBA interrupts to prepare beacon + * frames. */ intval |= HAL_BEACON_ENA; sc->sc_imask |= HAL_INT_SWBA; /* beacon prepare */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905062048.n46Kmjl9029429>