diff options
author | Alison Schofield <amsfield22@gmail.com> | 2015-10-21 06:08:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-25 02:41:27 (GMT) |
commit | c12e8dba0ebfcfe398e520ecbb3f1cb97b6d1a6c (patch) | |
tree | 3dc732375e62b7585f2858cd998ac5c0126a15c9 /drivers/staging/rtl8723au | |
parent | 0d07fc1b027403d05b223c7c99ace996de8cad7b (diff) | |
download | linux-c12e8dba0ebfcfe398e520ecbb3f1cb97b6d1a6c.tar.xz |
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: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au')
-rw-r--r-- | drivers/staging/rtl8723au/core/rtw_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c index d3479e1..f8f6376 100644 --- a/drivers/staging/rtl8723au/core/rtw_cmd.c +++ b/drivers/staging/rtl8723au/core/rtw_cmd.c @@ -621,7 +621,7 @@ int rtw_disassoc_cmd23a(struct rtw_adapter *padapter, u32 deauth_timeout_ms, } else { /* no need to enqueue, do the cmd hdl directly and free cmd parameter */ - if (H2C_SUCCESS != disconnect_hdl23a(padapter, (u8 *)param)) + if (disconnect_hdl23a(padapter, (u8 *)param) != H2C_SUCCESS) res = _FAIL; kfree(param); } |