PERFORCE change 114944 for review

Sam Leffler sam at FreeBSD.org
Sat Feb 24 00:29:32 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114944

Change 114944 by sam at sam_ebb on 2007/02/24 00:29:29

	more gcc 4.x cruft

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_proto.c#48 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_proto.c#48 (text+ko) ====

@@ -512,11 +512,11 @@
 ieee80211_set11gbasicrates(struct ieee80211_rateset *rs, enum ieee80211_phymode mode)
 {
 	static const struct ieee80211_rateset basic[] = {
-	    { 0 },			/* IEEE80211_MODE_AUTO */
+	    { .rs_nrates = 0 },		/* IEEE80211_MODE_AUTO */
 	    { 3, { 12, 24, 48 } },	/* IEEE80211_MODE_11A */
 	    { 2, { 2, 4 } },		/* IEEE80211_MODE_11B */
 	    { 4, { 2, 4, 11, 22 } },	/* IEEE80211_MODE_11G (mixed b/g) */
-	    { 0 },			/* IEEE80211_MODE_FH */
+	    { .rs_nrates = 0 },		/* IEEE80211_MODE_FH */
 					/* IEEE80211_MODE_PUREG (not yet) */
 	    { 7, { 2, 4, 11, 22, 12, 24, 48 } },
 	};


More information about the p4-projects mailing list