staging: csr: wait for the exec in usermodehelper

The order of wait values has been changed by commit 9d944ef32e.
Fix the wait parameter and start to use a define instead of
"magic number".

Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Lauri Hintsala 2012-09-17 16:26:31 +03:00 committed by Greg Kroah-Hartman
parent 8ab92cbdb3
commit 2b5d20db81
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ uf_run_unifihelper(unifi_priv_t *priv)
unifi_trace(priv, UDBG2, "running %s %s %s\n", argv[0], argv[1], argv[2]);
r = call_usermodehelper(argv[0], argv, envp, 0);
r = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC);
return r;
#else