AsahiLinux / linux

Linux kernel source tree
Other
2.17k stars 84 forks source link

Update WLAN #233

Closed dberlin closed 7 months ago

dberlin commented 7 months ago

There is one additional patch here over the last one, that I forgot. It should not affect our chips, but it adds the ability for feature determination to fail if we can't find the interface versions we support.

Right now, if we don't find join v0 or v1, or scan v2 or v3, etc, right now the driver can't actually fail to load. It can issue an error and then continue on and likely crash. That never happens on any of our supported chips, but may eventually do so.

This patch lets the function that checks the interface versions return an error code up to the driver initialization, and if it does driver issues an error and stops trying to load.

There is no rush to apply this, since it is purely defensive for Apple machines, but is almost certainly required to land stuff with upstream at some point

marcan commented 7 months ago

Pulled in, thanks!