summaryrefslogtreecommitdiff
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-19 16:15:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-19 16:15:35 +0000
commitbe6210535427c58abee446f86bc709d960b033b9 (patch)
tree5d41c75926ed964c0570c0689fed8b97360d8602 /package/madwifi/patches
parent38719a402c28d59d16653fa62e1156b9e5a1ff52 (diff)
downloadmtk-20170518-be6210535427c58abee446f86bc709d960b033b9.zip
mtk-20170518-be6210535427c58abee446f86bc709d960b033b9.tar.gz
mtk-20170518-be6210535427c58abee446f86bc709d960b033b9.tar.bz2
add a workaround for a wds related crash
SVN-Revision: 8062
Diffstat (limited to 'package/madwifi/patches')
-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 0000000..b404962
--- /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
+ /*