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/ebb50f08e95f
branches:  trunk
changeset: 939274:ebb50f08e95f
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 3d0d9aa34ee7 -r ebb50f08e95f 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