summaryrefslogtreecommitdiffstats
path: root/network/ndiswrapper/ndiswrapper_kernel_2.6.29.patch
blob: 67c28d8566dcd05fd181520daa967387e16e24c4 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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