Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ceb51ca8 authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi: Fix a bug in hot add/remove



There was a wrong variable used in the name parsing.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 5a0e10ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1693,7 +1693,7 @@ static int parse_str(struct hotmod_vals *v, int *val, char *name, char **curr)
	}
	*s = '\0';
	s++;
	for (i = 0; hotmod_ops[i].name; i++) {
	for (i = 0; v[i].name; i++) {
		if (strcmp(*curr, v[i].name) == 0) {
			*val = v[i].val;
			*curr = s;