mirror of https://github.com/aircrack-ng/rtl8812au
Compare commits
8 Commits
d41505f4e4
...
adb01aa826
Author | SHA1 | Date |
---|---|---|
Sebastien Caps | adb01aa826 | |
Christian Bremvåg | f23979f0d2 | |
Christian Bremvåg | 98895e9f2e | |
Christian Bremvåg | 6b6f1347dc | |
Christian Bremvåg | 135756af13 | |
alium | 88d0f5ca85 | |
alium | d3feb6ae93 | |
CamiKaseM7 | c0d16813f5 |
2
Makefile
2
Makefile
|
@ -7,6 +7,8 @@ EXTRA_CFLAGS += -Wno-unused-label
|
|||
EXTRA_CFLAGS += -Wno-unused-function
|
||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||
EXTRA_CFLAGS += -Wno-cast-function-type
|
||||
EXTRA_CFLAGS += -Wno-missing-declarations
|
||||
EXTRA_CFLAGS += -Wno-missing-prototypes
|
||||
#EXTRA_CFLAGS += -Wno-error=cast-function-type
|
||||
#EXTRA_CFLAGS += -Wno-parentheses-equality
|
||||
EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types
|
||||
|
|
|
@ -5286,9 +5286,16 @@ exit:
|
|||
return ret;
|
||||
}
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0))
|
||||
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
||||
struct cfg80211_ap_update *params)
|
||||
{
|
||||
struct cfg80211_beacon_data *info = ¶ms->beacon;
|
||||
#else
|
||||
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
||||
struct cfg80211_beacon_data *info)
|
||||
{
|
||||
#endif
|
||||
int ret = 0;
|
||||
_adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
#include <drv_types.h>
|
||||
#include <hal_data.h>
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
|
||||
#define strlcpy strscpy
|
||||
#endif
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
||||
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
||||
|
|
|
@ -270,7 +270,7 @@ struct rtw_usb_drv usb_drv = {
|
|||
.usbdrv.supports_autosuspend = 1,
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19))
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 8, 0))
|
||||
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
||||
#else
|
||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||
|
|
Loading…
Reference in New Issue