Commit 9d4a6040 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by John W. Linville

[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: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ae80031a
...@@ -329,7 +329,7 @@ static struct attribute_group netstat_group = { ...@@ -329,7 +329,7 @@ static struct attribute_group netstat_group = {
.attrs = netstat_attrs, .attrs = netstat_attrs,
}; };
#ifdef WIRELESS_EXT #ifdef CONFIG_WIRELESS_EXT
/* helper function that does all the locking etc for wireless stats */ /* helper function that does all the locking etc for wireless stats */
static ssize_t wireless_show(struct class_device *cd, char *buf, static ssize_t wireless_show(struct class_device *cd, char *buf,
ssize_t (*format)(const struct iw_statistics *, ssize_t (*format)(const struct iw_statistics *,
...@@ -462,7 +462,7 @@ int netdev_register_sysfs(struct net_device *net) ...@@ -462,7 +462,7 @@ int netdev_register_sysfs(struct net_device *net)
if (net->get_stats) if (net->get_stats)
*groups++ = &netstat_group; *groups++ = &netstat_group;
#ifdef WIRELESS_EXT #ifdef CONFIG_WIRELESS_EXT
if (net->wireless_handlers && net->wireless_handlers->get_wireless_stats) if (net->wireless_handlers && net->wireless_handlers->get_wireless_stats)
*groups++ = &wireless_group; *groups++ = &wireless_group;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment