summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-02-06 01:41:36 +0100
committerJohn W. Linville <linville@tuxdriver.com>2007-02-09 20:57:15 +0100
commit9d4a6040fc6222ca57c271289a7540292640a5a4 (patch)
treed901e8d34d79f17948c9d6e1649e3fc452c108b2 /net/core
parent[PATCH] Rename IPW2100 debugging macros to not look like config options. (diff)
downloadlinux-9d4a6040fc6222ca57c271289a7540292640a5a4.tar.xz
linux-9d4a6040fc6222ca57c271289a7540292640a5a4.zip
[PATCH] Replace incorrect macro name "WIRELESS_EXT" with "CONFIG_WIRELESS_EXT"
Rename the (apparently) incorrect macro name WIRELESS_EXT to CONFIG_WIRELESS_EXT. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/net-sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index f47f319bb7dc..44e69a21c32a 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -329,7 +329,7 @@ static struct attribute_group netstat_group = {
.attrs = netstat_attrs,
};
-#ifdef WIRELESS_EXT
+#ifdef CONFIG_WIRELESS_EXT
/* helper function that does all the locking etc for wireless stats */
static ssize_t wireless_show(struct class_device *cd, char *buf,
ssize_t (*format)(const struct iw_statistics *,
@@ -462,7 +462,7 @@ int netdev_register_sysfs(struct net_device *net)
if (net->get_stats)
*groups++ = &netstat_group;
-#ifdef WIRELESS_EXT
+#ifdef CONFIG_WIRELESS_EXT
if (net->wireless_handlers && net->wireless_handlers->get_wireless_stats)
*groups++ = &wireless_group;
#endif