Date: Thu, 11 Jan 2007 07:27:41 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 112766 for review Message-ID: <200701110727.l0B7Rfhv089580@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112766 Change 112766 by kmacy@kmacy_netherworld:sam_wifi on 2007/01/11 07:26:57 don't send beacon update if the bss channel is not set Affected files ... .. //depot/projects/wifi/sys/dev/ral/rt2560.c#11 edit Differences ... ==== //depot/projects/wifi/sys/dev/ral/rt2560.c#11 (text) ==== @@ -1266,9 +1266,14 @@ if (ic->ic_opmode != IEEE80211_M_IBSS && ic->ic_opmode != IEEE80211_M_HOSTAP) - return; + return; data = &sc->bcnq.data[sc->bcnq.next]; + /* + * Don't send beacon if bsschan isn't set + */ + if (data->ni == NULL) + return; bus_dmamap_sync(sc->bcnq.data_dmat, data->map, BUS_DMASYNC_POSTWRITE); bus_dmamap_unload(sc->bcnq.data_dmat, data->map);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701110727.l0B7Rfhv089580>