ath9k: compile out the ath9k rate control
[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,9 @@ 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_change_mtu         = eth_change_mtu,
16 +       .ndo_validate_addr      = eth_validate_addr,
17 +       .ndo_set_mac_address    = eth_mac_addr,
18  };
19  #endif
20