Looking at the source code for the broadcom-sta package, which is
working, I am wondering if

lines 3359-3381 from wl_linux.c in the bcmwl package

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
static const struct file_operations wl_fops = {
 .owner = THIS_MODULE,
 .read = wl_proc_read,
 .write = wl_proc_write,
};
#endif

should be updated to something similar to what is in the broadcom-sta
package in order to convert to using proc_ops that is found in the new
5.8.0-34/36 headers.

lines 3359-3381 from wl_linux.c in the broadcom-sta package

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
static const struct proc_ops wl_fops = {
        .proc_read      = wl_proc_read,
        .proc_write     = wl_proc_write,
};
#else
static const struct file_operations wl_fops = {
        .owner  = THIS_MODULE,
        .read   = wl_proc_read,
        .write  = wl_proc_write,
};
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) */
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) */

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910618

Title:
  bcmwl 6.30.223.271+bdcom build fails with kernel 5.8.0-34

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1910618/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to