-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another hasty fix for 6.1 kernel #202
base: master
Are you sure you want to change the base?
Conversation
ylxdzsw
commented
Dec 23, 2022
- use get_random_u32() to replace the disappeared prandom_u32()
- added various link_id arguments to match the new function signature from here
@@ -1643,7 +1643,7 @@ int rtw_os_ndev_register(_adapter *adapter, const char *name) | |||
u8 rtnl_lock_needed = rtw_rtnl_lock_needed(dvobj); | |||
|
|||
#ifdef CONFIG_RTW_NAPI | |||
netif_napi_add(ndev, &adapter->napi, rtw_recv_napi_poll, RTL_NAPI_WEIGHT); | |||
netif_napi_add(ndev, &adapter->napi, rtw_recv_napi_poll); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future reference, the netif_napi_add with a given weight was renamed to netif_napi_add_weight in linux 6.1.
doesn't work for 6.1.5 :(
|
worked with running
Instead of
Thanks for the fix ❤ |
Like in @Neykuratick 's case - dkms installation hasn't worked. But |
Hello! |