Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Wrap variable in the right variable.



details:   https://anonhg.NetBSD.org/src-all/rev/b3212f2a7fb4
branches:  trunk
changeset: 361333:b3212f2a7fb4
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sat Aug 29 10:23:40 2020 +1000

description:
Wrap variable in the right variable.

diffstat:

 sys/net80211/ieee80211_netbsd.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 022f98367b32 -r b3212f2a7fb4 sys/net80211/ieee80211_netbsd.c
--- a/sys/net80211/ieee80211_netbsd.c   Sat Aug 29 03:46:31 2020 +1000
+++ b/sys/net80211/ieee80211_netbsd.c   Sat Aug 29 10:23:40 2020 +1000
@@ -336,7 +336,9 @@
 
 SYSCTL_SETUP(sysctl_net_wlan_setup, "sysctl net.wlan subtree setup")
 {
+#ifdef IEEE80211_DEBUG
        int rc;
+#endif
        const struct sysctlnode *wlan_node;
 
        if (sysctl_createv(clog, 0, NULL, &wlan_node,



Home | Main Index | Thread Index | Old Index