Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157528696
D47860.id147339.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
832 B
Referenced Files
None
Subscribers
None
D47860.id147339.diff
View Options
diff --git a/sys/dev/rtwn/if_rtwn.c b/sys/dev/rtwn/if_rtwn.c
--- a/sys/dev/rtwn/if_rtwn.c
+++ b/sys/dev/rtwn/if_rtwn.c
@@ -326,12 +326,10 @@
struct sysctl_ctx_list *ctx = device_get_sysctl_ctx(sc->sc_dev);
struct sysctl_oid *tree = device_get_sysctl_tree(sc->sc_dev);
-#if 1
sc->sc_ht40 = 0;
SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
"ht40", CTLFLAG_RDTUN, &sc->sc_ht40,
sc->sc_ht40, "Enable 40 MHz mode support");
-#endif
#ifdef RTWN_DEBUG
SYSCTL_ADD_U32(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
diff --git a/sys/dev/rtwn/if_rtwnvar.h b/sys/dev/rtwn/if_rtwnvar.h
--- a/sys/dev/rtwn/if_rtwnvar.h
+++ b/sys/dev/rtwn/if_rtwnvar.h
@@ -171,9 +171,7 @@
struct mbufq sc_snd;
device_t sc_dev;
-#if 1
int sc_ht40;
-#endif
uint32_t sc_debug;
int sc_hwcrypto;
int sc_ratectl_sysctl;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 11:20 AM (57 m, 33 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33445535
Default Alt Text
D47860.id147339.diff (832 B)
Attached To
Mode
D47860: rtwn: remove the conditional compilation around the sc_ht40 option.
Attached
Detach File
Event Timeline
Log In to Comment