mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 15:14:02 +00:00
Fixed frame injection
This commit is contained in:
parent
0c23551874
commit
98182de4f1
@ -12403,9 +12403,8 @@ static struct iw_statistics *rtw_get_wireless_stats(struct net_device *dev)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_WIRELESS_EXT) && !defined(CONFIG_CFG80211_WEXT)
|
#ifdef CONFIG_WIRELESS_EXT
|
||||||
struct iw_handler_def rtw_handlers_def =
|
struct iw_handler_def rtw_handlers_def = {
|
||||||
{
|
|
||||||
.standard = rtw_handlers,
|
.standard = rtw_handlers,
|
||||||
.num_standard = sizeof(rtw_handlers) / sizeof(iw_handler),
|
.num_standard = sizeof(rtw_handlers) / sizeof(iw_handler),
|
||||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)) || defined(CONFIG_WEXT_PRIV)
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)) || defined(CONFIG_WEXT_PRIV)
|
||||||
|
12889
os_dep/linux/ioctl_linux.c.orig
Normal file
12889
os_dep/linux/ioctl_linux.c.orig
Normal file
File diff suppressed because it is too large
Load Diff
@ -1635,7 +1635,7 @@ struct net_device *rtw_init_netdev(_adapter *old_padapter)
|
|||||||
/* pnetdev->tx_timeout = NULL; */
|
/* pnetdev->tx_timeout = NULL; */
|
||||||
pnetdev->watchdog_timeo = HZ * 3; /* 3 second timeout */
|
pnetdev->watchdog_timeo = HZ * 3; /* 3 second timeout */
|
||||||
|
|
||||||
#if defined(CONFIG_WIRELESS_EXT) && !defined(CONFIG_CFG80211_WEXT)
|
#ifdef CONFIG_WIRELESS_EXT
|
||||||
pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def;
|
pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
5213
os_dep/linux/os_intfs.c.orig
Normal file
5213
os_dep/linux/os_intfs.c.orig
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user