mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00

Manually rebase: pending-5.15/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch ath79/patches-5.15/910-unaligned_access_hacks.patch All other patches automatically rebased Co-authored-by: John Audia <therealgraysky@proton.me> Signed-off-by: Liu Linhui <liulinhui36@gmail.com> Signed-off-by: Liu Linhui <liulinhui36@gmail.com> Co-authored-by: John Audia <therealgraysky@proton.me>
13 lines
386 B
Diff
13 lines
386 B
Diff
--- a/net/wireless/wext-core.c
|
|
+++ b/net/wireless/wext-core.c
|
|
@@ -959,6 +959,9 @@ static int wireless_process_ioctl(struct
|
|
else if (private)
|
|
return private(dev, iwr, cmd, info, handler);
|
|
}
|
|
+ /* Old driver API : call driver ioctl handler */
|
|
+ if (dev->netdev_ops->ndo_do_ioctl)
|
|
+ return dev->netdev_ops->ndo_do_ioctl(dev, (struct ifreq *) iwr, cmd);
|
|
return -EOPNOTSUPP;
|
|
}
|
|
|