hostap: use ndo_siocdevprivate
authorArnd Bergmann <arnd@arndb.de>
Tue, 27 Jul 2021 13:44:50 +0000 (15:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 19:11:43 +0000 (20:11 +0100)
commit3f3fa5340745c81a2e70a171fb73a44b433d5126
tree46e7e12a0c2790222c5b67f4ae1034e297749cf2
parent3343c49a959df1c6ff6560b8dfe178613c5fc38e
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>
drivers/net/wireless/intersil/hostap/hostap.h
drivers/net/wireless/intersil/hostap/hostap_ioctl.c
drivers/net/wireless/intersil/hostap/hostap_main.c