net/compat_ioctl: support SIOCWANDEV
authorArnd Bergmann <arnd@arndb.de>
Mon, 9 Nov 2009 04:57:03 +0000 (20:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2009 04:57:03 +0000 (20:57 -0800)
commit7a50a240c495478179f01c9df4bd75e39cff79c7
tree729ac5edbcf93dd4ddc502925b7fe4357a004098
parentfab2532ba50b287647d95046c4f3b37bf6379d37
net/compat_ioctl: support SIOCWANDEV

This adds compat_ioctl support for SIOCWANDEV, which has
always been missing.

The definition of struct compat_ifreq was missing an
ifru_settings fields that is needed to support SIOCWANDEV,
so add that and clean up the whitespace damage in the
struct definition.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/compat.h
net/socket.c