add a workaround for a wds related crash

SVN-Revision: 8062
owl
Felix Fietkau 2007-07-19 16:15:35 +00:00
parent 38719a402c
commit be62105354
1 changed files with 13 additions and 0 deletions

View File

@ -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
/*