aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/127-beacon_node.patch
blob: f992af92914742997918e91af41f69638272fcc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: madwifi-ng-r2568-20070710/ath/if_ath.c
===================================================================
--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c	2007-07-23 01:48:43.690469948 +0200
+++ madwifi-ng-r2568-20070710/ath/if_ath.c	2007-07-23 01:48:43.942484311 +0200
@@ -4027,6 +4027,8 @@
 	}
 	bf = avp->av_bcbuf;
 	ni = bf->bf_node;
+	if (!ni)
+		return NULL;
 
 #ifdef ATH_SUPERG_DYNTURBO
 	/*