diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-12-24 15:16:02 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-01-26 16:40:43 +0100 |
commit | ab36bb72d00e24ae637a87ce8cde568435322a56 (patch) | |
tree | acfe81916791dbe59a1c7db9f4d0a1a88503398b /drivers/net/wireless/st/cw1200/txrx.c | |
parent | rtw88: use true,false for bool variable (diff) | |
download | linux-ab36bb72d00e24ae637a87ce8cde568435322a56.tar.xz linux-ab36bb72d00e24ae637a87ce8cde568435322a56.zip |
cw1200: use true,false for bool variable
Fixes coccicheck warning:
drivers/net/wireless/st/cw1200/txrx.c:718:6-16: WARNING: Assignment of 0/1 to bool variable
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/wireless/st/cw1200/txrx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/st/cw1200/txrx.c b/drivers/net/wireless/st/cw1200/txrx.c index 2dfcdb145944..400dd585916b 100644 --- a/drivers/net/wireless/st/cw1200/txrx.c +++ b/drivers/net/wireless/st/cw1200/txrx.c @@ -715,7 +715,7 @@ void cw1200_tx(struct ieee80211_hw *dev, }; struct ieee80211_sta *sta; struct wsm_tx *wsm; - bool tid_update = 0; + bool tid_update = false; u8 flags = 0; int ret; |