add a workaround for a wds related crash
[openwrt/openwrt.git] / package / madwifi / patches / 127-beacon_node.patch
1 Index: madwifi-ng-r2568-20070710/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-19 16:58:58.416164190 +0200
4 +++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-19 16:59:28.677888709 +0200
5 @@ -4027,6 +4027,8 @@
6 }
7 bf = avp->av_bcbuf;
8 ni = bf->bf_node;
9 + if (!ni)
10 + return NULL;
11
12 #ifdef ATH_SUPERG_DYNTURBO
13 /*