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/d33fd4fb4c28
branches:  trunk
changeset: 362765:d33fd4fb4c28
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 f6f420318fbe -r d33fd4fb4c28 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