1
0
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:
kimocoder 2019-11-14 10:30:35 +01:00
parent 0c23551874
commit 98182de4f1
4 changed files with 18105 additions and 4 deletions

View File

@ -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)

File diff suppressed because it is too large Load Diff

View File

@ -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

File diff suppressed because it is too large Load Diff