wifi: mt76: mt7925: convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Wed, 4 Sep 2024 07:52:13 +0000 (15:52 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 6 Sep 2024 12:23:07 +0000 (14:23 +0200)
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>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://patch.msgid.link/20240904075213.1352976-1-nichen@iscas.ac.cn
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c

index 473ed54e871095f4b0917b9b3889c9659c8716e2..e07b43dd8638ecdec4f14658a0d1e95a70cd5757 100644 (file)
@@ -2174,12 +2174,12 @@ void mt7925_mcu_bss_rlm_tlv(struct sk_buff *skb, struct mt76_phy *phy,
 
        tlv = mt76_connac_mcu_add_tlv(skb, UNI_BSS_INFO_RLM, sizeof(*req));
        req = (struct bss_rlm_tlv *)tlv;
-       req->control_channel = chandef->chan->hw_value,
-       req->center_chan = ieee80211_frequency_to_channel(freq1),
-       req->center_chan2 = ieee80211_frequency_to_channel(freq2),
-       req->tx_streams = hweight8(phy->antenna_mask),
-       req->ht_op_info = 4, /* set HT 40M allowed */
-       req->rx_streams = hweight8(phy->antenna_mask),
+       req->control_channel = chandef->chan->hw_value;
+       req->center_chan = ieee80211_frequency_to_channel(freq1);
+       req->center_chan2 = ieee80211_frequency_to_channel(freq2);
+       req->tx_streams = hweight8(phy->antenna_mask);
+       req->ht_op_info = 4; /* set HT 40M allowed */
+       req->rx_streams = hweight8(phy->antenna_mask);
        req->band = band;
 
        switch (chandef->width) {