From: Lauri Hintsala Date: Mon, 17 Sep 2012 13:26:31 +0000 (+0300) Subject: staging: csr: wait for the exec in usermodehelper X-Git-Tag: firefly_0821_release~3680^2~1977^2~159 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b5d20db81276149d70db02be876511137a64b7f;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- 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