summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/300-napi_polling.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-07 13:02:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-07 13:02:09 +0000
commit5bc6d1c39e6541fefaf357946500f1c9bca03fa5 (patch)
tree26b92bdd11de2fc2a2eb9a67c53f791b20a1d10a /package/madwifi/patches/300-napi_polling.patch
parent9d7192e5fa1cdf91e6cd6fb127b5a2c4057531ba (diff)
downloadmtk-20170518-5bc6d1c39e6541fefaf357946500f1c9bca03fa5.zip
mtk-20170518-5bc6d1c39e6541fefaf357946500f1c9bca03fa5.tar.gz
mtk-20170518-5bc6d1c39e6541fefaf357946500f1c9bca03fa5.tar.bz2
update madwifi to latest rev - works around some crashiness
SVN-Revision: 9507
Diffstat (limited to 'package/madwifi/patches/300-napi_polling.patch')
-rw-r--r--package/madwifi/patches/300-napi_polling.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/package/madwifi/patches/300-napi_polling.patch b/package/madwifi/patches/300-napi_polling.patch
index 58c5d10..e2abe30 100644
--- a/package/madwifi/patches/300-napi_polling.patch
+++ b/package/madwifi/patches/300-napi_polling.patch
@@ -1,7 +1,7 @@
-Index: madwifi-ng-r2799-20071030/ath/if_ath.c
+Index: madwifi-ng-r2834-20071106/ath/if_ath.c
===================================================================
---- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:50.997527661 +0100
-+++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:51.313545672 +0100
+--- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:02:04.537629461 +0100
++++ madwifi-ng-r2834-20071106/ath/if_ath.c 2007-11-07 14:02:04.865648150 +0100
@@ -170,7 +170,7 @@
int, u_int64_t);
static void ath_setdefantenna(struct ath_softc *, u_int);
@@ -252,7 +252,7 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c
unsigned int i;
/* XXX return value */
-@@ -9336,9 +9417,9 @@
+@@ -9343,9 +9424,9 @@
dev->mtu = mtu;
if ((dev->flags & IFF_RUNNING) && !sc->sc_invalid) {
/* NB: the rx buffers may need to be reallocated */
@@ -264,10 +264,10 @@ Index: madwifi-ng-r2799-20071030/ath/if_ath.c
}
ATH_UNLOCK(sc);
-Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
+Index: madwifi-ng-r2834-20071106/ath/if_athvar.h
===================================================================
---- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:50.117477510 +0100
-+++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:51.317545898 +0100
+--- madwifi-ng-r2834-20071106.orig/ath/if_athvar.h 2007-11-07 14:02:03.557573608 +0100
++++ madwifi-ng-r2834-20071106/ath/if_athvar.h 2007-11-07 14:02:04.865648150 +0100
@@ -50,6 +50,10 @@
#include <asm/io.h>
#include <linux/list.h>
@@ -304,10 +304,10 @@ Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
#define ATH_RXBUF_LOCK_INIT(_sc) spin_lock_init(&(_sc)->sc_rxbuflock)
#define ATH_RXBUF_LOCK_DESTROY(_sc)
-Index: madwifi-ng-r2799-20071030/net80211/ieee80211_input.c
+Index: madwifi-ng-r2834-20071106/net80211/ieee80211_input.c
===================================================================
---- madwifi-ng-r2799-20071030.orig/net80211/ieee80211_input.c 2007-10-31 14:04:49.437438757 +0100
-+++ madwifi-ng-r2799-20071030/net80211/ieee80211_input.c 2007-10-31 14:04:51.325546356 +0100
+--- madwifi-ng-r2834-20071106.orig/net80211/ieee80211_input.c 2007-11-07 14:02:02.873534629 +0100
++++ madwifi-ng-r2834-20071106/net80211/ieee80211_input.c 2007-11-07 14:02:04.873648608 +0100
@@ -1128,8 +1128,9 @@
if (ni->ni_vlan != 0 && vap->iv_vlgrp != NULL) {
/* attach vlan tag */