Move conditional preprocessing out from the IEEE80211_DPRINTF macro
commit5d0048975b2aef34c973c823e05e1356ea0bf5a4
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 25 Nov 2006 08:56:29 +0000 (25 08:56 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 25 Nov 2006 08:56:29 +0000 (25 08:56 +0000)
tree2f47ac0bb60998ba6af30d0cab03be80ca62b100
parenta6226bb44c7180df1e67b3f8231a734ff27d5a0a
Move conditional preprocessing out from the IEEE80211_DPRINTF macro
invocation.  Per C99 6.10.3 paragraph 11 preprocessing directives
appearing as macro arguments yield undefined behavior.

Obtained-from: FreeBSD (dss@freebsd.org)
sys/netproto/802_11/wlan/ieee80211_node.c
sys/netproto/802_11/wlan/ieee80211_output.c