summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-19 16:15:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-19 16:15:35 +0000
commit589df1ac74210380e89be62e3bea1cce175f8bdd (patch)
tree6cbdce4cdf2ac48b438d4a1f92e2cbc7cebf8518
parent9f7de89d9b16062128e649a6b65bac590fe4713c (diff)
add a workaround for a wds related crash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8062 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/madwifi/patches/127-beacon_node.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches/127-beacon_node.patch b/package/madwifi/patches/127-beacon_node.patch
new file mode 100644
index 0000000000..b4049622cb
--- /dev/null
+++ b/package/madwifi/patches/127-beacon_node.patch
@@ -0,0 +1,13 @@
+Index: madwifi-ng-r2568-20070710/ath/if_ath.c
+===================================================================
+--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-19 16:58:58.416164190 +0200
++++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-19 16:59:28.677888709 +0200
+@@ -4027,6 +4027,8 @@
+ }
+ bf = avp->av_bcbuf;
+ ni = bf->bf_node;
++ if (!ni)
++ return NULL;
+
+ #ifdef ATH_SUPERG_DYNTURBO
+ /*