mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
staging: rtl8192e: Fix DeviceID in rtl8192_pci_findadapter()
rtl8192_pci_findadapter() was looking for invalid DeviceID (0x8172), instead of proper for rtl8192e/se devices (0x8192) Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eae10b8ea5
commit
a569f22007
@@ -62,7 +62,7 @@ bool rtl8192_pci_findadapter(struct pci_dev *pdev, struct net_device *dev)
|
||||
|
||||
priv->card_8192 = priv->ops->nic_type;
|
||||
|
||||
if (DeviceID == 0x8172) {
|
||||
if (DeviceID == 0x8192) {
|
||||
switch (RevisionID) {
|
||||
case HAL_HW_PCI_REVISION_ID_8192PCIE:
|
||||
dev_info(&pdev->dev,
|
||||
|
||||
Reference in New Issue
Block a user