summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Hintsala <lauri.hintsala@bluegiga.com>2012-09-17 16:26:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-17 14:50:33 -0700
commit2b5d20db81276149d70db02be876511137a64b7f (patch)
treed3df5a999eb5cc0490a435c0535da731bd293762
parent8ab92cbdb37b87d4fda4c2cb1c0f586856c6c64a (diff)
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>
-rw-r--r--drivers/staging/csr/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/csr/firmware.c b/drivers/staging/csr/firmware.c
index dc6a04db265a..b6d8a6e52915 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