diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-21 12:08:21 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-21 12:08:21 -0500 |
commit | ac58c9059da8886b5e8cde012a80266b18ca146e (patch) | |
tree | 40bf486843a2cace6c3a959d73423e50e6aa0c00 /net/socket.c | |
parent | df6db302cb236ac3a683d535a3e2073d9f4b2833 (diff) | |
parent | c4a1745aa09fc110afdefea0e5d025043e348bae (diff) |
Merge branch 'linus'
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/net/socket.c b/net/socket.c index a00851f981db..7e1bdef8b09e 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -84,10 +84,7 @@ | |||
84 | #include <linux/compat.h> | 84 | #include <linux/compat.h> |
85 | #include <linux/kmod.h> | 85 | #include <linux/kmod.h> |
86 | #include <linux/audit.h> | 86 | #include <linux/audit.h> |
87 | 87 | #include <linux/wireless.h> | |
88 | #ifdef CONFIG_NET_RADIO | ||
89 | #include <linux/wireless.h> /* Note : will define WIRELESS_EXT */ | ||
90 | #endif /* CONFIG_NET_RADIO */ | ||
91 | 88 | ||
92 | #include <asm/uaccess.h> | 89 | #include <asm/uaccess.h> |
93 | #include <asm/unistd.h> | 90 | #include <asm/unistd.h> |
@@ -840,11 +837,11 @@ static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg) | |||
840 | if (cmd >= SIOCDEVPRIVATE && cmd <= (SIOCDEVPRIVATE + 15)) { | 837 | if (cmd >= SIOCDEVPRIVATE && cmd <= (SIOCDEVPRIVATE + 15)) { |
841 | err = dev_ioctl(cmd, argp); | 838 | err = dev_ioctl(cmd, argp); |
842 | } else | 839 | } else |
843 | #ifdef WIRELESS_EXT | 840 | #ifdef CONFIG_WIRELESS_EXT |
844 | if (cmd >= SIOCIWFIRST && cmd <= SIOCIWLAST) { | 841 | if (cmd >= SIOCIWFIRST && cmd <= SIOCIWLAST) { |
845 | err = dev_ioctl(cmd, argp); | 842 | err = dev_ioctl(cmd, argp); |
846 | } else | 843 | } else |
847 | #endif /* WIRELESS_EXT */ | 844 | #endif /* CONFIG_WIRELESS_EXT */ |
848 | switch (cmd) { | 845 | switch (cmd) { |
849 | case FIOSETOWN: | 846 | case FIOSETOWN: |
850 | case SIOCSPGRP: | 847 | case SIOCSPGRP: |