PERFORCE change 46309 for review
Sam Leffler
sam at FreeBSD.org
Sun Feb 1 10:01:56 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=46309
Change 46309 by sam at 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
More information about the p4-projects
mailing list