mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
14 lines
477 B
Diff
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
|