projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: fix LED control on the RTL8366 switches
[openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
rtl8366rb.c
diff --git
a/target/linux/generic/files/drivers/net/phy/rtl8366rb.c
b/target/linux/generic/files/drivers/net/phy/rtl8366rb.c
index
99d49c5
..
d442d2f
100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
+++ b/
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
@@
-762,7
+762,7
@@
static int rtl8366rb_sw_set_port_led(struct switch_dev *dev,
data = val->value.i << (val->port_vlan * 4);
}
- return rtl8366_smi_rmwr(smi,
RTL8366RB_LED_BLINKRATE_REG
, mask, data);
+ return rtl8366_smi_rmwr(smi,
reg
, mask, data);
}
static int rtl8366rb_sw_get_port_led(struct switch_dev *dev,
This page took
0.020959 seconds
and
4
git commands to generate.