1 --- a/net80211/ieee80211.c
2 +++ b/net80211/ieee80211.c
4 #include <linux/skbuff.h>
5 #include <linux/netdevice.h>
6 #include <linux/rtnetlink.h> /* XXX for rtnl_lock */
7 +#include <linux/etherdevice.h>
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,
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,