diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2013-02-14 23:00:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-15 15:34:37 -0500 |
commit | 506f669c58989152ce46603327bfd2f2a794fd38 (patch) | |
tree | 4ff645e6a293eb2ff5dd0e80c76dc0eb8bb6bcaf /drivers/net/ethernet | |
parent | 462738f4f04febe16bf366925559c267130c88f0 (diff) | |
download | op-kernel-dev-506f669c58989152ce46603327bfd2f2a794fd38.zip op-kernel-dev-506f669c58989152ce46603327bfd2f2a794fd38.tar.gz |
stmmac: fix the parsing of the eee_timer parameter
This pacth fixes the parsing of the eee_timer driver parameter.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index b75f4b2..601dd84 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -2254,7 +2254,7 @@ static int __init stmmac_cmdline_opt(char *str) } else if (!strncmp(opt, "pause:", 6)) { if (kstrtoint(opt + 6, 0, &pause)) goto err; - } else if (!strncmp(opt, "eee_timer:", 6)) { + } else if (!strncmp(opt, "eee_timer:", 10)) { if (kstrtoint(opt + 10, 0, &eee_timer)) goto err; } |