PERFORCE change 83747 for review

Sam Leffler sam at FreeBSD.org
Fri Sep 16 09:56:23 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=83747

Change 83747 by sam at sam_ebb on 2005/09/16 16:55:47

	check ic_set_tim before using it

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_power.c#3 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_power.c#3 (text+ko) ====

@@ -217,7 +217,7 @@
 		"[%s] save frame with age %d, %u now queued\n",
 		ether_sprintf(ni->ni_macaddr), age, qlen);
 
-	if (qlen == 1)
+	if (qlen == 1 && ic->ic_set_tim != NULL)
 		ic->ic_set_tim(ni, 1);
 }
 


More information about the p4-projects mailing list