mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -1644,7 +1644,7 @@ mt7925_mcu_sta_cmd(struct mt76_phy *phy,
|
||||
if (IS_ERR(skb))
|
||||
return PTR_ERR(skb);
|
||||
|
||||
if (info->link_sta || !info->offload_fw)
|
||||
if (info->link_sta)
|
||||
mt76_connac_mcu_sta_basic_tlv(dev, skb, info->vif,
|
||||
info->link_sta,
|
||||
info->enable, info->newly);
|
||||
|
||||
Reference in New Issue
Block a user