projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: rtl8712: fix an error test in start_drv_threads()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
rtl8712
/
os_intfs.c
diff --git
a/drivers/staging/rtl8712/os_intfs.c
b/drivers/staging/rtl8712/os_intfs.c
index 37fe33005c0296e82e071105f06bc57c91b28cfc..6bd08213cb70fcc8d28c6266be4166a932afb20b 100644
(file)
--- a/
drivers/staging/rtl8712/os_intfs.c
+++ b/
drivers/staging/rtl8712/os_intfs.c
@@
-239,7
+239,7
@@
static u32 start_drv_threads(struct _adapter *padapter)
{
padapter->cmdThread = kthread_run(r8712_cmd_thread, padapter, "%s",
padapter->pnetdev->name);
- if (IS_ERR(padapter->cmdThread)
< 0
)
+ if (IS_ERR(padapter->cmdThread))
return _FAIL;
return _SUCCESS;
}