Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2004 13:20:18 -0800 (PST)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46948 for review
Message-ID:  <200402142120.i1ELKImq023001@repoman.freebsd.org>

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

Change 46948 by sam@sam_ebb on 2004/02/14 13:19:26

	!linux #ifdef for setting if_baudrate

Affected files ...

.. //depot/projects/netperf+sockets/sys/net80211/ieee80211.c#15 edit

Differences ...

==== //depot/projects/netperf+sockets/sys/net80211/ieee80211.c#15 (text+ko) ====

@@ -368,10 +368,10 @@
 	}
 	ieee80211_media_status(ifp, &imr);
 	ifmedia_set(&ic->ic_media, imr.ifm_active);
-
+#ifndef __linux__
 	if (maxrate)
 		ifp->if_baudrate = IF_Mbps(maxrate);
-
+#endif
 	if (ic->ic_max_aid == 0)
 		ic->ic_max_aid = IEEE80211_MAX_AID;
 #undef ADD



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