Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 10:01:55 -0800 (PST)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46309 for review
Message-ID:  <200402011801.i11I1tYE049667@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46309

Change 46309 by sam@sam_ebb on 2004/02/01 10:01:23

	stamp out another assumption about where struct
	ieee80211com is located

Affected files ...

.. //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#22 edit

Differences ...

==== //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#22 (text+ko) ====

@@ -2776,8 +2776,10 @@
 static void
 ath_newassoc(struct ieee80211com *ic, struct ieee80211_node *ni, int isnew)
 {
-	if (isnew)
-		ath_rate_ctl_start((struct ath_softc *)ic, ni);
+	if (isnew) {
+		struct ifnet *ifp = ic->ic_ifp;
+		ath_rate_ctl_start(ifp->if_softc, ni);
+	}
 }
 
 static int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402011801.i11I1tYE049667>