Re: Aw: Re: help for driver porting - missing member preset_chandef in struct wireless_dev

From: Johannes Berg
Date: Mon Aug 22 2022 - 12:44:07 EST


On Mon, 2022-08-22 at 18:42 +0200, Frank Wunderlich wrote:
> > Gesendet: Montag, 22. August 2022 um 17:02 Uhr
> > Von: "Johannes Berg" <johannes@xxxxxxxxxxxxxxxx>
>
> > Yes. Make sure the driver doesn't access it, it should get stuff
> > through
> > other APIs.
>
> thanks for response, commented out the use of the member and the wdev
> assignment as it was then unused
> can you tell me which api-call this should be?
> i just want to make sure this is really done as i up-ported the driver
> from 4.9, so if the api-call was introduced later it is maybe missing.

No sorry, I don't know how the driver was/is using it, so I can't tell
you how to replace it.

johannes