Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2007 00:29:32 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114944 for review
Message-ID:  <200702240029.l1O0TW5r044172@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 114944 by sam@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 } },
 	};



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