Commit 2b5d20db authored by Lauri Hintsala's avatar Lauri Hintsala Committed by 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: default avatarLauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8ab92cbd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment