diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-07-27 15:44:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-27 21:11:43 +0200 |
commit | 3f3fa5340745c81a2e70a171fb73a44b433d5126 (patch) | |
tree | 46e7e12a0c2790222c5b67f4ae1034e297749cf2 /drivers/net/wireless/intersil/hostap/hostap.h | |
parent | staging: wlan-ng: use siocdevprivate (diff) | |
download | linux-3f3fa5340745c81a2e70a171fb73a44b433d5126.tar.xz linux-3f3fa5340745c81a2e70a171fb73a44b433d5126.zip |
hostap: use ndo_siocdevprivate
hostap has a combination of iwpriv ioctls that do not work at
all, and two SIOCDEVPRIVATE commands that work natively but
lack a compat conversion handler.
For the moment, move them over to the new ndo_siocdevprivate
interface and return an error for compat mode.
Cc: Jouni Malinen <j@w1.fi>
Cc: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/intersil/hostap/hostap.h')
-rw-r--r-- | drivers/net/wireless/intersil/hostap/hostap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/intersil/hostap/hostap.h b/drivers/net/wireless/intersil/hostap/hostap.h index c4b81ff7d7e4..c17ab6dbbb53 100644 --- a/drivers/net/wireless/intersil/hostap/hostap.h +++ b/drivers/net/wireless/intersil/hostap/hostap.h @@ -93,6 +93,7 @@ extern const struct iw_handler_def hostap_iw_handler_def; extern const struct ethtool_ops prism2_ethtool_ops; int hostap_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); - +int hostap_siocdevprivate(struct net_device *dev, struct ifreq *ifr, + void __user *data, int cmd); #endif /* HOSTAP_H */ |