lwfinger/rtw89

Fails to compile on long term kernel 6.1.30

mradcliffe opened this issue · 2 comments

I was updated the driver today and was unable to compile on a system using kernel 6.1.30 sources.

commit 39b6c53

  rtw89/core.c:2942:66: error: 'struct ieee80211_bss_conf' has no member named 'assoc'

It looks like some lines changed from KERNEL_VERSION(6, 0, 0) to KERNEL_VERSION(6, 3, 0)

Changing the directive to KERNEL_VERSION(6, 1, 0) allows for the driver to be compiled. I don't know if setting to 6, 0, 0 is appropriate or not like in previous versions.

On my system, the change needed to be >= KERNEL_VERSION(6, 0, 0). Your change would have moved the erroring kernel.

The patches are pushed.

I forgot to come back and close this issue. Sorry. Thank you for the patch.