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:
parent
8ab92cbdb3
commit
2b5d20db81
|
@ -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]);
|
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;
|
return r;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue