Date:2010-08-29 20:42:11 (13 years 6 months ago)
Author:acoul
Commit:b2948ef4c1f2c6a6c07de2be675c6b934386209b
Message:package/madwifi: enable mtu & mac config options for > 2.6.29 kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22835 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/madwifi/patches/471-netdev_ops_mac_mtu.patch (1 diff)

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

Archive Download the corresponding diff file



interactive