Dont Compile on Linux 5.11 #10
Comments
Hi, same story overhere. Code won't compile on Debian Bullseye/Sid and 5.11 kernel |
So after going to Work and came Back Home heres whats Happen. make[1]: Verzeichnis „/usr/src/linux-headers-5.11.0-generic“ wird betreten |
I've created a PR. To quickly patch this you can change cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, false); The full explaination on this change can be reviewed in the PR linked to this issue |
Thanks mate,
Works.
…On Fri, 2021-02-26 at 07:44 -0800, Javier Lecuona wrote:
I've created a PR. To quickly patch this you can change
ioctl_cfg80211.c line 459.
cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0,
false);
The full explaination on this change can be reviewed in the PR linked
to this issue
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
works just fine. thanks man |
Guys, see the comment in the PR at #11 (comment) You cannot just make changes like that without wrapping them properly in preprocessor directives to ensure that it still compiles for different kernel versions. I like the change (provided it actually works) and if @javiercbk amends their PR, I will take it in, subject to my own testing. |
Today is officially my day for making typos ... all corrected ... thus far |
Fix now implemented thanks guys. |
Hi i try to Compile on Ubuntu 18.04 with Kernel 5.11, but didn't work.
The text was updated successfully, but these errors were encountered: