Date: Mon, 23 Apr 2007 12:53:38 GMT From: Sepherosa Ziehau <sephe@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 118656 for review Message-ID: <200704231253.l3NCrc8P038938@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118656 Change 118656 by sephe@sephe_zealot:sam_wifi on 2007/04/23 12:52:39 Const-fy rate set argument of ieee80211_iserp_rateset(). Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_proto.c#54 edit .. //depot/projects/wifi/sys/net80211/ieee80211_proto.h#34 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_proto.c#54 (text+ko) ==== @@ -487,7 +487,8 @@ * NB: the rate set is assumed to be sorted. */ int -ieee80211_iserp_rateset(struct ieee80211com *ic, struct ieee80211_rateset *rs) +ieee80211_iserp_rateset(struct ieee80211com *ic, + const struct ieee80211_rateset *rs) { #define N(a) (sizeof(a) / sizeof(a[0])) static const int rates[] = { 2, 4, 11, 22, 12, 24, 48 }; ==== //depot/projects/wifi/sys/net80211/ieee80211_proto.h#34 (text+ko) ==== @@ -92,7 +92,7 @@ void ieee80211_reset_erp(struct ieee80211com *); void ieee80211_set_shortslottime(struct ieee80211com *, int onoff); int ieee80211_iserp_rateset(struct ieee80211com *, - struct ieee80211_rateset *); + const struct ieee80211_rateset *); void ieee80211_set11gbasicrates(struct ieee80211_rateset *, enum ieee80211_phymode);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704231253.l3NCrc8P038938>