aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linuxkpi/common/include/net/cfg80211.h')
-rw-r--r--sys/compat/linuxkpi/common/include/net/cfg80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h
index f769cfdd4075..305026b34451 100644
--- a/sys/compat/linuxkpi/common/include/net/cfg80211.h
+++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h
@@ -1450,7 +1450,7 @@ cfg80211_chandef_create(struct cfg80211_chan_def *chandef,
KASSERT(chandef != NULL, ("%s: chandef is NULL\n", __func__));
KASSERT(chan != NULL, ("%s: chan is NULL\n", __func__));
- /* memset(chandef, 0, sizeof(*chandef)); */
+ memset(chandef, 0, sizeof(*chandef));
chandef->chan = chan;
chandef->center_freq1 = chan->center_freq;
/* chandef->width, center_freq2, punctured */