Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7202d291 authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by Ian Maund
Browse files

wil6210: Workaround for Sparrow with bad device id



If firmware broken on the boot time, Sparrow card enumerates as
device 0x302 instead of 0x310. Allow using this ID

Change-Id: Ia02e3de0e08322d7da9064504ff0805bf3f90386
Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Git-commit: 6afd60055d8dd1f28bf6e9556ebc9996cceebaa8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.g


Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 75226086
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -245,6 +245,8 @@ static const struct pci_device_id wil6210_pcie_ids[] = {
	  .driver_data = (kernel_ulong_t)&wil_board_marlon },
	{ PCI_DEVICE(0x1ae9, 0x0310),
	  .driver_data = (kernel_ulong_t)&wil_board_sparrow },
	{ PCI_DEVICE(0x1ae9, 0x0302), /* same as above, firmware broken */
	  .driver_data = (kernel_ulong_t)&wil_board_sparrow },
	{ /* end: all zeroes */	},
};
MODULE_DEVICE_TABLE(pci, wil6210_pcie_ids);