diff options
Diffstat (limited to 'network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch')
-rw-r--r-- | network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch b/network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch new file mode 100644 index 0000000000..67c28d8566 --- /dev/null +++ b/network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch @@ -0,0 +1,14 @@ +# fix C syntax error and field name in conditional netdev ops struct, +# triggering on kernel >= 2.6.29 and CONFIG_NET_POLL_CONTROLLER=y. + +--- a/driver/wrapndis.c ++++ b/driver/wrapndis.c +@@ -1744,7 +1744,7 @@ static const struct net_device_ops ndis_ + .ndo_set_mac_address = ndis_set_mac_address, + .ndo_get_stats = ndis_get_stats, + #ifdef CONFIG_NET_POLL_CONTROLLER +- .poll_controller = ndis_poll_controller; ++ .ndo_poll_controller = ndis_poll_controller, + #endif + }; + #endif |