From: Lauri Hintsala Date: Mon, 17 Sep 2012 13:26:31 +0000 (+0300) Subject: staging: csr: wait for the exec in usermodehelper X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b5d20db81276149d70db02be876511137a64b7f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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