slackbuilds_ponce/network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch
2010-05-12 17:43:54 +02:00

14 lines
477 B
Diff

# 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