mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 01:21:34 +00:00
Fix: logical error
This commit is contained in:
parent
96ec215d23
commit
12d7f3bacd
@ -628,7 +628,7 @@ static inline u8 is_valid_id_status(enum halmac_feature_id id, enum halmac_cmd_p
|
|||||||
if (status == HALMAC_CMD_PROCESS_RCVD)
|
if (status == HALMAC_CMD_PROCESS_RCVD)
|
||||||
return _FALSE;
|
return _FALSE;
|
||||||
if ((status != HALMAC_CMD_PROCESS_DONE)
|
if ((status != HALMAC_CMD_PROCESS_DONE)
|
||||||
|| (status != HALMAC_CMD_PROCESS_ERROR))
|
&& (status != HALMAC_CMD_PROCESS_ERROR))
|
||||||
RTW_WARN("%s: %s unexpected status(0x%x)!\n",
|
RTW_WARN("%s: %s unexpected status(0x%x)!\n",
|
||||||
__FUNCTION__, RTW_HALMAC_FEATURE_NAME[id],
|
__FUNCTION__, RTW_HALMAC_FEATURE_NAME[id],
|
||||||
status);
|
status);
|
||||||
|
Loading…
Reference in New Issue
Block a user