On Fri, Mar 04, 2022 at 10:46:29PM +0100, Stefan Sperling wrote: > The net80211 ioctl which ifconfig is using to obtain a list of all > supported channels is using a struct name that belongs to the kernel. > > Fix this by renaming struct ieee80211_channel to struct ieee80211_chaninfo > in ieee80211_ioctl.h. The way this is done here keeps both old and new > ifconfig binaries happy. > > Passes make release on amd64. > I don't expect fallout in ports from this, though just in case I will > wait for a build which sthen@ is running.
I've tested the diff with old and new ifconfig binaries on urtwn hardware - everything works as expected.
