Fix build without IEEE80211_DEBUG.

Reported by:	many
This commit is contained in:
Sergey Kandaurov 2017-01-10 19:28:40 +00:00
parent b88a8d3d1d
commit 30007e3fdc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311887

View File

@ -91,11 +91,12 @@ vht_recv_action_placeholder(struct ieee80211_node *ni,
const uint8_t *frm, const uint8_t *efrm)
{
#ifdef IEEE80211_DEBUG
ieee80211_note(ni->ni_vap, "%s: called; fc=0x%.2x/0x%.2x",
__func__,
wh->i_fc[0],
wh->i_fc[1]);
#endif
return (0);
}
@ -104,10 +105,12 @@ vht_send_action_placeholder(struct ieee80211_node *ni,
int category, int action, void *arg0)
{
#ifdef IEEE80211_DEBUG
ieee80211_note(ni->ni_vap, "%s: called; category=%d, action=%d",
__func__,
category,
action);
#endif
return (EINVAL);
}