diff options
author | nohee ko <noheek@broadcom.com> | 2010-10-13 14:24:25 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-14 12:21:52 -0700 |
commit | 7356f429d24e7ad97c0dec77b0777d5892c7657d (patch) | |
tree | d2e401817c924058d11eba9a970f8c039d2eb8a7 /drivers/staging/brcm80211/brcmfmac/dhd_linux.c | |
parent | 4c71ebf4da809dd1379bbadfbc2683b77ecd932f (diff) |
staging: brcm80211: brcmfmac: replace KILL_PROC with send_sig()
logic optimization : replace KILL_PROC with send_sig()
Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac/dhd_linux.c')
-rw-r--r-- | drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index 4548e1f865f9..579a639ad437 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c @@ -2340,20 +2340,20 @@ void dhd_detach(dhd_pub_t *dhdp) } if (dhd->watchdog_tsk) { - KILL_PROC(dhd->watchdog_tsk->pid, SIGTERM); + send_sig(SIGTERM, dhd->watchdog_tsk, 1); kthread_stop(dhd->watchdog_tsk); dhd->watchdog_tsk = NULL; } if (dhd->dpc_tsk) { - KILL_PROC(dhd->dpc_tsk->pid, SIGTERM); + send_sig(SIGTERM, dhd->dpc_tsk, 1); kthread_stop(dhd->dpc_tsk); dhd->dpc_tsk = NULL; } else tasklet_kill(&dhd->tasklet); if (dhd->sysioc_tsk) { - KILL_PROC(dhd->sysioc_tsk->pid, SIGTERM); + send_sig(SIGTERM, dhd->sysioc_tsk, 1); kthread_stop(dhd->sysioc_tsk); dhd->sysioc_tsk = NULL; } |