"fix" to netndis.c for Linux 2.6.19
Bill Gabella <[email protected]> Fri, 19 Jan 2007 11:39:11 -0600
| Newsgroups | gmane.linux.kernel.driver-loader |
|---|---|
| Organization | FEL Center/Vanderbilt University |
| Message-ID | <[email protected]> |
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 -- William E. Gabella [email protected] 615-343-2713 FEL Center/Vanderbilt University Nashville, TN 37235