mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add 6.1 kernel support from coolsnowwolf and Ansuel
This commit is contained in:
parent
403e257a34
commit
7360c8686d
225 changed files with 46677 additions and 66 deletions
|
@ -0,0 +1,12 @@
|
|||
--- 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;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue