diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-03 12:14:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 21:32:46 -0400 |
commit | 87de87d5e47f94b4ea647a5bd1bc8dc1f7930db4 (patch) | |
tree | 09e0f3b084466a7abca17356cce7c39b7b1a8783 /fs/compat_ioctl.c | |
parent | a67fa76d8be4e24e2d61cd76438a893d4c2886f7 (diff) |
wext: Dispatch and handle compat ioctls entirely in net/wireless/wext.c
Next we can kill the hacks in fs/compat_ioctl.c and also
dispatch compat ioctls down into the driver and 80211 protocol
helper layers in order to handle iw_point objects embedded in
stream replies which need to be translated.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 97dba0d92348..8ab850bf2eee 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -1757,12 +1757,6 @@ static int do_i2c_smbus_ioctl(unsigned int fd, unsigned int cmd, unsigned long a | |||
1757 | return sys_ioctl(fd, cmd, (unsigned long)tdata); | 1757 | return sys_ioctl(fd, cmd, (unsigned long)tdata); |
1758 | } | 1758 | } |
1759 | 1759 | ||
1760 | struct compat_iw_point { | ||
1761 | compat_caddr_t pointer; | ||
1762 | __u16 length; | ||
1763 | __u16 flags; | ||
1764 | }; | ||
1765 | |||
1766 | static int do_wireless_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) | 1760 | static int do_wireless_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) |
1767 | { | 1761 | { |
1768 | struct iwreq __user *iwr; | 1762 | struct iwreq __user *iwr; |