diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-09-04 09:46:37 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-09-09 14:31:35 +0200 |
commit | 4f0568492fc446b25b5538ba2e3a85c2dbe0ab5d (patch) | |
tree | 5e7fa0a40dde1d22fb67c79e40a83845ebccc1d8 /drivers/net/wireless/broadcom | |
parent | wifi: rsi: Remove an unused field in struct rsi_debugfs (diff) | |
download | linux-4f0568492fc446b25b5538ba2e3a85c2dbe0ab5d.tar.xz linux-4f0568492fc446b25b5538ba2e3a85c2dbe0ab5d.zip |
wifi: brcmfmac: cfg80211: Convert comma to semicolon
Replace comma between expressions with semicolons.
Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240904074637.1352864-1-nichen@iscas.ac.cn
Diffstat (limited to 'drivers/net/wireless/broadcom')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index 815f6b3c79fc..349aa3439502 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -1135,7 +1135,7 @@ static void brcmf_escan_prep(struct brcmf_cfg80211_info *cfg, offset = offsetof(struct brcmf_scan_params_v2_le, channel_list) + n_channels * sizeof(u16); offset = roundup(offset, sizeof(u32)); - length += sizeof(ssid_le) * n_ssids, + length += sizeof(ssid_le) * n_ssids; ptr = (char *)params_le + offset; for (i = 0; i < n_ssids; i++) { memset(&ssid_le, 0, sizeof(ssid_le)); |