1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 13:24:36 +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
#if defined(CONFIG_WIRELESS_EXT) && !defined(CONFIG_CFG80211_WEXT)
struct iw_handler_def rtw_handlers_def =
{
#ifdef CONFIG_WIRELESS_EXT
struct iw_handler_def rtw_handlers_def = {
.standard = rtw_handlers,
.num_standard = sizeof(rtw_handlers) / sizeof(iw_handler),
#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->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;
#endif

5213
os_dep/linux/os_intfs.c.orig Normal file

File diff suppressed because it is too large Load Diff