Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 16:56:20 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 83747 for review
Message-ID:  <200509161656.j8GGuK9m010191@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=83747

Change 83747 by sam@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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509161656.j8GGuK9m010191>