PERFORCE change 133975 for review
Sam Leffler
sam at errno.com
Thu Jan 24 03:36:22 PST 2008
Sepherosa Ziehau wrote:
> http://perforce.freebsd.org/chv.cgi?CH=133975
>
> Change 133975 by sephe at 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.
Sam
More information about the p4-projects
mailing list