openwrtv3/package/madwifi/patches/127-beacon_node.patch
John Crispin 9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
2007-10-20 19:13:53 +00:00

13 lines
408 B
Diff

Index: madwifi-ng-r2568-20070710/ath/if_ath.c
===================================================================
--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-10-20 20:52:09.000000000 +0200
+++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-10-20 20:52:54.000000000 +0200
@@ -4027,6 +4027,8 @@
}
bf = avp->av_bcbuf;
ni = bf->bf_node;
+ if (!ni)
+ return NULL;
#ifdef ATH_SUPERG_DYNTURBO
/*