Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: Switch constant place in test

Switch constant place as it should be on the right side of the test.
Issue found by checkpatch.

Signed-off-by: Javier F. Arias <jarias.linux@gmail.com>
Link: https://lore.kernel.org/r/20191007033202.45czxuochtylkddf@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Javier F. Arias and committed by
Greg Kroah-Hartman
3dbcdf18 164eec46

+1 -1
+1 -1
drivers/staging/rtl8723bs/core/rtw_xmit.c
··· 2992 2992 do { 2993 2993 err = rtw_hal_xmit_thread_handler(padapter); 2994 2994 flush_signals_thread(); 2995 - } while (_SUCCESS == err); 2995 + } while (err == _SUCCESS); 2996 2996 2997 2997 complete(&padapter->xmitpriv.terminate_xmitthread_comp); 2998 2998