]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7925: simpify mt7925_mcu_sta_cmd logic by removing fw_offload
authorSean Wang <sean.wang@mediatek.com>
Thu, 13 Jun 2024 03:02:41 +0000 (20:02 -0700)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 Jul 2024 21:02:00 +0000 (23:02 +0200)
commit8b7eb93b7a75f453d2b35c5b904895b628949593
treeeae075d4143ccb0c614e0879d45581601879a14e
parent1541d63c5fe2cebce85b2af84a2850a302ffda9c
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>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c