From 65bff7792f062340970ca3d2d2ef654fea32bcdd Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Mon, 5 Feb 2007 16:41:36 -0800 Subject: [PATCH] --- yaml --- r: 49013 b: refs/heads/master c: 9d4a6040fc6222ca57c271289a7540292640a5a4 h: refs/heads/master i: 49011: da49ad4c8d0a3c40881df3cc9a33c61a29bc85c4 v: v3 --- [refs] | 2 +- trunk/net/core/net-sysfs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 803cc313629a..e2733474ee02 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae80031a171b81d28b92877e7a9ce9b26cbfe051 +refs/heads/master: 9d4a6040fc6222ca57c271289a7540292640a5a4 diff --git a/trunk/net/core/net-sysfs.c b/trunk/net/core/net-sysfs.c index f47f319bb7dc..44e69a21c32a 100644 --- a/trunk/net/core/net-sysfs.c +++ b/trunk/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