diff options
author | David S. Miller <davem@davemloft.net> | 2009-10-09 23:40:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-09 23:40:09 +0200 |
commit | 8aa0f64ac3835a6daf84d0b0e07c4c01d7d8eddc (patch) | |
tree | e5e6cc8637a44354997624f26d4d55834c9915b4 /net/core/net-sysfs.c | |
parent | ixgbe: Fix KR to KX fail over for Mezzanine cards (diff) | |
parent | wireless: make wireless drivers select core (diff) | |
download | linux-8aa0f64ac3835a6daf84d0b0e07c4c01d7d8eddc.tar.xz linux-8aa0f64ac3835a6daf84d0b0e07c4c01d7d8eddc.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'net/core/net-sysfs.c')
-rw-r--r-- | net/core/net-sysfs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 4242e94ff1a5..753c420060df 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -543,8 +543,12 @@ int netdev_register_kobject(struct net_device *net) *groups++ = &netstat_group; #ifdef CONFIG_WIRELESS_EXT_SYSFS - if (net->wireless_handlers || net->ieee80211_ptr) + if (net->ieee80211_ptr) *groups++ = &wireless_group; +#ifdef CONFIG_WIRELESS_EXT + else if (net->wireless_handlers) + *groups++ = &wireless_group; +#endif #endif #endif /* CONFIG_SYSFS */ |