projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a3e41
)
bonding: fix ad_select module param check
author
Nikolay Aleksandrov
<
[email protected]
>
Sun, 13 Jul 2014 07:47:47 +0000
(09:47 +0200)
committer
David S. Miller
<
[email protected]
>
Mon, 14 Jul 2014 21:36:58 +0000
(14:36 -0700)
Obvious copy/paste error when I converted the ad_select to the new
option API. "lacp_rate" there should be "ad_select" so we can get the
proper value.
CC: Jay Vosburgh <
[email protected]
>
CC: Veaceslav Falico <
[email protected]
>
CC: Andy Gospodarek <
[email protected]
>
CC: David S. Miller <
[email protected]
>
Fixes: 9e5f5eebe765 ("bonding: convert ad_select to use the new option
API")
Reported-by: Karim Scheik <
[email protected]
>
Signed-off-by: Nikolay Aleksandrov <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/bonding/bond_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index 3a451b6cd3d50844fb8fd2e21e3c0305ea0ad1ff..701f86cd5993246633b9be643f0801ba6c71b79d 100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-4068,7
+4068,7
@@
static int bond_check_params(struct bond_params *params)
}
if (ad_select) {
- bond_opt_initstr(&newval,
lacp_rate
);
+ bond_opt_initstr(&newval,
ad_select
);
valptr = bond_opt_parse(bond_opt_get(BOND_OPT_AD_SELECT),
&newval);
if (!valptr) {