aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/127-beacon_node.patch
blob: 087eeee75b2e3215276a95956aaaa8d90b710afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: madwifi-ng-r2756-20071018/ath/if_ath.c
===================================================================
--- madwifi-ng-r2756-20071018.orig/ath/if_ath.c	2007-10-24 06:20:20.001829115 +0200
+++ madwifi-ng-r2756-20071018/ath/if_ath.c	2007-10-24 06:20:20.213841201 +0200
@@ -4162,6 +4162,8 @@
 	}
 	bf = avp->av_bcbuf;
 	ni = bf->bf_node;
+	if (!ni)
+		return NULL;
 
 #ifdef ATH_SUPERG_DYNTURBO
 	/*