• L
    rtlwifi: Fix kernel oops on ARM SOC · b6b67df3
    Larry Finger 提交于
    This driver uses information from the self member of the pci_bus struct to
    get information regarding the bridge to which the PCIe device is attached.
    Unfortunately, this member is not established on all architectures, which
    leads to a kernel oops.
    
    Skipping the entire block that uses the self member to determine the bridge
    vendor will only affect RTL8192DE devices as that driver sets the ASPM support
    flag differently when the bridge vendor is Intel. If the self member is
    available, there is no functional change.
    
    This patch fixes Bugzilla No. 40212.
    Reported-by: NHubert Liao <liao.hubertt@gmail.com>
    Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
    Cc: Stable <stable@kernel.org> [back to 2.6.38]
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    b6b67df3
pci.c 54.0 KB