Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 49013
b: refs/heads/master
c: 9d4a604
h: refs/heads/master
i:
  49011: da49ad4
v: v3
  • Loading branch information
Robert P. J. Day authored and John W. Linville committed Feb 9, 2007
1 parent b88db87 commit 65bff77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae80031a171b81d28b92877e7a9ce9b26cbfe051
refs/heads/master: 9d4a6040fc6222ca57c271289a7540292640a5a4
4 changes: 2 additions & 2 deletions trunk/net/core/net-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 65bff77

Please sign in to comment.