Date: Thu, 24 Jan 2008 03:26:09 -0800 From: Sam Leffler <sam@errno.com> To: Sepherosa Ziehau <sephe@freebsd.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 133975 for review Message-ID: <479875D1.3080205@errno.com> In-Reply-To: <200801240705.m0O75Q4o085638@repoman.freebsd.org>
index | next in thread | previous in thread | raw e-mail
Sepherosa Ziehau wrote: > http://perforce.freebsd.org/chv.cgi?CH=133975 > > Change 133975 by sephe@sephe_zealot:sam_wifi on 2008/01/24 07:04:31 > > Duplicate the ieee80211_{scan_result,sta_info} structure and add > {isr,isi}_capinfo2 at the end of the structure. Rename old > structure to structure_name_v1. > > If you look in ieee80211_ioctl.c you'll see similar logic for handling a compat change. What I typically do is change the public structure definition and keep the old/compat def only in the place where it is used. This insures noone will write user code that uses the old api. Samhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479875D1.3080205>
