diff options
author | Lauri Hintsala <lauri.hintsala@bluegiga.com> | 2012-09-17 13:26:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-17 21:50:33 (GMT) |
commit | 2b5d20db81276149d70db02be876511137a64b7f (patch) | |
tree | d3df5a999eb5cc0490a435c0535da731bd293762 /drivers/staging/csr | |
parent | 8ab92cbdb37b87d4fda4c2cb1c0f586856c6c64a (diff) | |
download | linux-fsl-qoriq-2b5d20db81276149d70db02be876511137a64b7f.tar.xz |
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>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r-- | drivers/staging/csr/firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/csr/firmware.c b/drivers/staging/csr/firmware.c index dc6a04d..b6d8a6e 100644 --- a/drivers/staging/csr/firmware.c +++ b/drivers/staging/csr/firmware.c @@ -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 |