Date: Sun, 13 May 2007 05:07:54 GMT From: Sepherosa Ziehau <sephe@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 119753 for review Message-ID: <200705130507.l4D57s25051976@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119753 Change 119753 by sephe@sephe_zealot:sam_wifi on 2007/05/13 05:06:53 u_intX_t -> uintX_t Approved by: sam Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_power.c#7 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_power.c#7 (text+ko) ==== @@ -69,8 +69,8 @@ * know adhoc mode doesn't support ATIM yet... */ if (ic->ic_opmode == IEEE80211_M_HOSTAP) { - ic->ic_tim_len = howmany(ic->ic_max_aid,8) * sizeof(u_int8_t); - MALLOC(ic->ic_tim_bitmap, u_int8_t *, ic->ic_tim_len, + ic->ic_tim_len = howmany(ic->ic_max_aid,8) * sizeof(uint8_t); + MALLOC(ic->ic_tim_bitmap, uint8_t *, ic->ic_tim_len, M_DEVBUF, M_NOWAIT | M_ZERO); if (ic->ic_tim_bitmap == NULL) { printf("%s: no memory for TIM bitmap!\n", __func__); @@ -150,7 +150,7 @@ ieee80211_set_tim(struct ieee80211_node *ni, int set) { struct ieee80211com *ic = ni->ni_ic; - u_int16_t aid; + uint16_t aid; KASSERT(ic->ic_opmode == IEEE80211_M_HOSTAP || ic->ic_opmode == IEEE80211_M_IBSS,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705130507.l4D57s25051976>