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/8f415d16bd4b
branches:  trunk
changeset: 986073:8f415d16bd4b
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 244f8fc9aa87 -r 8f415d16bd4b 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