Re: "fix" to netndis.c for Linux 2.6.19
"Linuxant support (Jonathan)" <[email protected]> Mon, 22 Jan 2007 17:43:35 -0500
| Newsgroups | gmane.linux.kernel.driver-loader |
|---|---|
| Message-ID | <[email protected]> |
Hi, thank you for reporting this problem and a suggestion to solve it. A patch is already available for DriverLoader 2.35 to solve this issue, it can be installed with the 'dldrconfig --patch' command in a root shell. A new version of DriverLoader will be released in the near future with official support for the 2.6.19 kernel. Regards, Jonathan Technical specialist / Linuxant www.linuxant.com [email protected] Bill Gabella wrote: > Jonathan, > I just downloaded and installed the new Linux kernel > 2.6.19-1.2895.fc6 #1 SMP > and found driverloader could not compile. I ran > sh dldrinstall.run > and retrieved the most recent rpm, but still a problem. > > I tracked it down to a change in the Linux wireless.h, > specifically > * V20 to V21 > * ---------- > * - Remove (struct net_device *)->get_wireless_stats() > > no get_wireless_stats(). So I commented this out in > the netndis.c, line 4826. I am not sure what else I may have broken, > but it seem to work now. > > #if IW_HANDLER_VERSION >= 6 > dev->wireless_handlers = &netndis_handler_def; > #endif > //BG070119 dev->get_wireless_stats = netndis_get_wireless_stats; > dev->do_ioctl = netndis_ioctl; > dev->change_mtu = netndis_change_mtu; > > FYI, bill e. gabella > >