netifd: update to latest version, add some more status info and rework shell proto...
[openwrt.git] / package / madwifi / patches / 471-netdev_ops_mac_mtu.patch
1 --- a/net80211/ieee80211.c
2 +++ b/net80211/ieee80211.c
3 @@ -47,6 +47,7 @@
4 #include <linux/skbuff.h>
5 #include <linux/netdevice.h>
6 #include <linux/rtnetlink.h> /* XXX for rtnl_lock */
7 +#include <linux/etherdevice.h>
8
9 #include "if_media.h"
10
11 @@ -463,6 +464,8 @@ static const struct net_device_ops ieee8
12 .ndo_set_multicast_list = ieee80211_set_multicast_list,
13 .ndo_change_mtu = ieee80211_change_mtu,
14 .ndo_do_ioctl = ieee80211_ioctl,
15 + .ndo_validate_addr = eth_validate_addr,
16 + .ndo_set_mac_address = eth_mac_addr,
17 };
18 #endif
19
20 --- a/ath/if_ath.c
21 +++ b/ath/if_ath.c
22 @@ -574,6 +574,8 @@ static const struct net_device_ops ath_n
23 .ndo_get_stats = ath_getstats,
24 .ndo_set_mac_address = ath_set_mac_address,
25 .ndo_change_mtu = ath_change_mtu,
26 + .ndo_validate_addr = eth_validate_addr,
27 + .ndo_set_mac_address = eth_mac_addr,
28 };
29 #endif
30
This page took 0.039636 seconds and 5 git commands to generate.