Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mtk-wifi-gpl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-09-27 14:38:18 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-09-27 14:39:06 +0400
commit54a98415803448cad25dcac16785680d269857b5 (patch)
tree7cc9c7fd27dad4bbdef9e85f7b3c2b3789ce04ee
parent66109dd10b4bdfeb6683ac8b88da910a5ec711c9 (diff)
allow mac address changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rwxr-xr-xos/linux/rt_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/linux/rt_linux.c b/os/linux/rt_linux.c
index e39df7a..ee541e7 100755
--- a/os/linux/rt_linux.c
+++ b/os/linux/rt_linux.c
@@ -1665,6 +1665,7 @@ int RtmpOSNetDevAttach(
/* If we need hook some callback function to the net device structrue, now do it. */
if (pDevOpHook) {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
+ pNetDevOps->ndo_set_mac_address = eth_mac_addr;
pNetDevOps->ndo_open = pDevOpHook->open;
pNetDevOps->ndo_stop = pDevOpHook->stop;
pNetDevOps->ndo_start_xmit =