21 Dec
2010
21 Dec
'10
11:11 p.m.
Signed-off-by: Liam Girdwood lrg@slimlogic.co.uk --- src/ucm/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ucm/main.c b/src/ucm/main.c index 3a61679..4c13547 100644 --- a/src/ucm/main.c +++ b/src/ucm/main.c @@ -1323,7 +1323,7 @@ static int switch_modifier(snd_use_case_mgr_t *uc_mgr, if (xold == NULL) return -ENOENT; xnew = find_modifier(uc_mgr->active_verb, new_modifier); - if (xold == NULL) + if (xnew == NULL) return -ENOENT; err = 0; list_for_each(pos, &xold->transition_list) {
--
1.7.1