Commit c12e8dba authored by Alison Schofield's avatar Alison Schofield Committed by Greg Kroah-Hartman

staging: r8723au: move constant to right of comparison test

Move constant to right of comparison test to improve readability.

Addresses checkpatch.pl:
	WARNING: Comparisons should place the constant on the
	right side of the test
Signed-off-by: default avatarAlison Schofield <amsfield22@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d07fc1b
...@@ -621,7 +621,7 @@ int rtw_disassoc_cmd23a(struct rtw_adapter *padapter, u32 deauth_timeout_ms, ...@@ -621,7 +621,7 @@ int rtw_disassoc_cmd23a(struct rtw_adapter *padapter, u32 deauth_timeout_ms,
} else { } else {
/* no need to enqueue, do the cmd hdl directly and /* no need to enqueue, do the cmd hdl directly and
free cmd parameter */ free cmd parameter */
if (H2C_SUCCESS != disconnect_hdl23a(padapter, (u8 *)param)) if (disconnect_hdl23a(padapter, (u8 *)param) != H2C_SUCCESS)
res = _FAIL; res = _FAIL;
kfree(param); kfree(param);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment