mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-18 15:25:29 +08:00
mac80211: rework eth hw addr set for kernel 5.4
This commit is contained in:
parent
3441bc5588
commit
38bca36d20
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2007-2015 OpenWrt.org
|
# Copyright (C) 2007-2023 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
--- a/backport-include/linux/etherdevice.h
|
||||||
|
+++ b/backport-include/linux/etherdevice.h
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
}
|
||||||
|
#endif /* LINUX_VERSION_IS_LESS(4,11,0) */
|
||||||
|
|
||||||
|
-#if LINUX_VERSION_IS_LESS(5,15,0)
|
||||||
|
+#if LINUX_VERSION_IS_LESS(5,4,0)
|
||||||
|
/**
|
||||||
|
* eth_hw_addr_set - Assign Ethernet address to a net_device
|
||||||
|
* @dev: pointer to net_device structure
|
Loading…
x
Reference in New Issue
Block a user