mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
This commit is contained in:
commit
8aa0f64ac3
141 changed files with 6348 additions and 4624 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue