diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-05-28 17:54:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-05-28 17:54:47 +0000 |
commit | 3909344b3adba50c22e778ee6456884bd7dad6ca (patch) | |
tree | 987e917da620526a75a7a70b61455b5c6dfcf375 /openwrt/target/linux/linux-2.4 | |
parent | 7feef7384eebb450e8c6d59f6580ad90ff6f6591 (diff) | |
download | mtk-20170518-3909344b3adba50c22e778ee6456884bd7dad6ca.zip mtk-20170518-3909344b3adba50c22e778ee6456884bd7dad6ca.tar.gz mtk-20170518-3909344b3adba50c22e778ee6456884bd7dad6ca.tar.bz2 |
fix ethtool call for communication between wl and wl.o
SVN-Revision: 1091
Diffstat (limited to 'openwrt/target/linux/linux-2.4')
-rw-r--r-- | openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch b/openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch index e44a80b..b534786 100644 --- a/openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch +++ b/openwrt/target/linux/linux-2.4/patches/002-wl_fix.patch @@ -330,3 +330,22 @@ diff -Nur linux-2.4.30/net/sched/sch_generic.c linux-2.4.30-wl-fix/net/sched/sch BUG_TRAP(!timer_pending(&dev->watchdog_timer)); spin_unlock_bh(&dev->queue_lock); write_unlock(&qdisc_tree_lock); +diff -urN linux.old/net/core/dev.c linux.dev/net/core/dev.c +--- linux.old/net/core/dev.c 2005-05-28 17:42:07.000000000 +0200 ++++ linux.dev/net/core/dev.c 2005-05-28 20:38:06.000000000 +0200 +@@ -2223,6 +2223,7 @@ + cmd == SIOCGMIIPHY || + cmd == SIOCGMIIREG || + cmd == SIOCSMIIREG || ++ cmd == SIOCETHTOOL || + cmd == SIOCWANDEV) { + if (dev->do_ioctl) { + if (!netif_device_present(dev)) +@@ -2405,6 +2406,7 @@ + + default: + if (cmd == SIOCWANDEV || ++ (cmd == SIOCETHTOOL) || + (cmd >= SIOCDEVPRIVATE && + cmd <= SIOCDEVPRIVATE + 15)) { + dev_load(ifr.ifr_name); |