add a workaround for a wds related crash
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 Jul 2007 16:15:35 +0000 (16:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 Jul 2007 16:15:35 +0000 (16:15 +0000)
SVN-Revision: 8062

package/madwifi/patches/127-beacon_node.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/127-beacon_node.patch b/package/madwifi/patches/127-beacon_node.patch
new file mode 100644 (file)
index 0000000..b404962
--- /dev/null
@@ -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
+       /*