update madwifi to latest version (fixes #2403)
[openwrt/openwrt.git] / package / madwifi / patches / 127-beacon_node.patch
1 Index: madwifi-ng-r2799-20071030/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2799-20071030.orig/ath/if_ath.c 2007-10-31 14:04:50.329489593 +0100
4 +++ madwifi-ng-r2799-20071030/ath/if_ath.c 2007-10-31 14:04:50.577503726 +0100
5 @@ -4162,6 +4162,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 /*