mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
aca274091a
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From b92c017deda819e45a0f054f6df6b53e645d7fe4 Mon Sep 17 00:00:00 2001
|
|
From: zhengbin <zhengbin13@huawei.com>
|
|
Date: Tue, 24 Dec 2019 22:16:06 +0800
|
|
Subject: [PATCH] brcmfmac: use true,false for bool variable
|
|
|
|
Fixes coccicheck warning:
|
|
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:911:2-24: 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>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c
|
|
@@ -908,7 +908,7 @@ static u8 brcmf_fws_hdrpush(struct brcmf
|
|
wlh += wlh[1] + 2;
|
|
|
|
if (entry->send_tim_signal) {
|
|
- entry->send_tim_signal = 0;
|
|
+ entry->send_tim_signal = false;
|
|
wlh[0] = BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP;
|
|
wlh[1] = BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP_LEN;
|
|
wlh[2] = entry->mac_handle;
|