wifi: mt76: mt7921: fix fw used for offload check for mt7922
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 28 Mar 2023 10:01:17 +0000 (12:01 +0200)
committerKalle Valo <kvalo@kernel.org>
Fri, 31 Mar 2023 15:02:58 +0000 (18:02 +0300)
Fix the firmware version used for offload capability check used by 0x0616
devices. This path enables offload capabilities for 0x0616 devices.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217245
Fixes: 034ae28b56f1 ("wifi: mt76: mt7921: introduce remain_on_channel support")
Cc: stable@vger.kernel.org
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/632d8f0c9781c9902d7160e2c080aa7e9232d50d.1679997487.git.lorenzo@kernel.org
drivers/net/wireless/mediatek/mt76/mt7921/pci.c

index cb72ded372564ea5bf52bea2f66e80cab767fe9a..5c23c827abe476df6f5f7f5b53aeeeb4af5313e5 100644 (file)
@@ -20,7 +20,7 @@ static const struct pci_device_id mt7921_pci_device_table[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x0608),
                .driver_data = (kernel_ulong_t)MT7921_FIRMWARE_WM },
        { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x0616),
-               .driver_data = (kernel_ulong_t)MT7921_FIRMWARE_WM },
+               .driver_data = (kernel_ulong_t)MT7922_FIRMWARE_WM },
        { },
 };