mirror of https://github.com/OpenIPC/firmware.git
Revert "RTL8812AU: add patch to set correct device name"
This reverts commit 74e2ca9c10
.
pull/901/head
parent
17441c6d01
commit
83e1dbc86c
|
@ -1,11 +0,0 @@
|
||||||
--- a/include/drv_types_linux.h
|
|
||||||
+++ b/include/drv_types_linux.h
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
#define __DRV_TYPES_LINUX_H__
|
|
||||||
|
|
||||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
|
|
||||||
-#define dev_addr_set(netdev, ethdata) _rtw_memcpy(netdev, ethdata, ETH_ALEN)
|
|
||||||
+#define dev_addr_set(netdev, ethdata) _rtw_memcpy(netdev->dev_addr, ethdata, ETH_ALEN)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue