[Midnightbsd-cvs] src [9143] trunk/sys/dev/ath/if_ath.c: add ifdef

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Oct 13 21:53:40 EDT 2016


Revision: 9143
          http://svnweb.midnightbsd.org/src/?rev=9143
Author:   laffer1
Date:     2016-10-13 21:53:39 -0400 (Thu, 13 Oct 2016)
Log Message:
-----------
add ifdef

Modified Paths:
--------------
    trunk/sys/dev/ath/if_ath.c

Modified: trunk/sys/dev/ath/if_ath.c
===================================================================
--- trunk/sys/dev/ath/if_ath.c	2016-10-10 13:39:36 UTC (rev 9142)
+++ trunk/sys/dev/ath/if_ath.c	2016-10-14 01:53:39 UTC (rev 9143)
@@ -116,7 +116,9 @@
  * the U/L bit and tracking addresses in a byte; it would be
  * worthwhile to allow more for applications like proxy sta.
  */
+#ifdef CTASSERT
 CTASSERT(ATH_BCBUF <= 8);
+#endif
 
 static struct ieee80211vap *ath_vap_create(struct ieee80211com *,
 		    const char [IFNAMSIZ], int, enum ieee80211_opmode, int,



More information about the Midnightbsd-cvs mailing list