Skip to content

Commit 98e21de

Browse files
moore-brosnbd168
authored andcommitted
wifi: mt76: mt7925: simpify mt7925_mcu_sta_cmd logic by removing fw_offload
The mt7925 only supports offload firmware making the fw_offload check redundant. This update simplifies the logic in "mt7925_mcu_sta_cmd" by removing the unnecessary check for fw_offoad. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Link: https://patch.msgid.link/20240613030241.5771-48-sean.wang@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
1 parent abde752 commit 98e21de

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7925

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7925/mcu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ mt7925_mcu_sta_cmd(struct mt76_phy *phy,
16441644
if (IS_ERR(skb))
16451645
return PTR_ERR(skb);
16461646

1647-
if (info->link_sta || !info->offload_fw)
1647+
if (info->link_sta)
16481648
mt76_connac_mcu_sta_basic_tlv(dev, skb, info->vif,
16491649
info->link_sta,
16501650
info->enable, info->newly);

0 commit comments

Comments
 (0)