Skip to content

Commit

Permalink
staging: csr: wait for the exec in usermodehelper
Browse files Browse the repository at this point in the history
The order of wait values has been changed by commit 9d944ef.
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>
  • Loading branch information
Lauri Hintsala authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent 8ab92cb commit 2b5d20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/csr/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b5d20d

Please sign in to comment.