diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-12-24 17:16:02 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-01-26 18:40:43 +0300 |
commit | ab36bb72d00e24ae637a87ce8cde568435322a56 (patch) | |
tree | acfe81916791dbe59a1c7db9f4d0a1a88503398b /drivers | |
parent | 891984bccf64138cb721f87abae838af5636281a (diff) | |
download | linux-ab36bb72d00e24ae637a87ce8cde568435322a56.tar.xz |
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 'drivers')
-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; |