Change Details
package/madwifi/patches/471-netdev_ops_mac_mtu.patch |
| 1 | --- a/net80211/ieee80211.c |
| 2 | @@ -47,6 +47,7 @@ |
| 3 | #include <linux/skbuff.h> |
| 4 | #include <linux/netdevice.h> |
| 5 | #include <linux/rtnetlink.h> /* XXX for rtnl_lock */ |
| 6 | +#include <linux/etherdevice.h> |
| 7 | |
| 8 | #include "if_media.h" |
| 9 | |
| 10 | @@ -463,6 +464,9 @@ static const struct net_device_ops ieee8 |
| 11 | .ndo_set_multicast_list = ieee80211_set_multicast_list, |
| 12 | .ndo_change_mtu = ieee80211_change_mtu, |
| 13 | .ndo_do_ioctl = ieee80211_ioctl, |
| 14 | + .ndo_change_mtu = eth_change_mtu, |
| 15 | + .ndo_validate_addr = eth_validate_addr, |
| 16 | + .ndo_set_mac_address = eth_mac_addr, |
| 17 | }; |
| 18 | #endif |
| 19 | |
Download the corresponding diff file