提交 2b5d20db 编写于 作者: L Lauri Hintsala 提交者: Greg Kroah-Hartman

staging: csr: wait for the exec in usermodehelper

The order of wait values has been changed by commit 9d944ef3.
Fix the wait parameter and start to use a define instead of
"magic number".
Signed-off-by: NLauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8ab92cbd
...@@ -286,7 +286,7 @@ uf_run_unifihelper(unifi_priv_t *priv) ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册