X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F830-b43-workaround-pcie-bcm4716.patch;fp=package%2Fkernel%2Fmac80211%2Fpatches%2F830-b43-workaround-pcie-bcm4716.patch;h=c039f41451b1811502fc042f1ae116c9c9288653;hb=85d36d816d47a441d2c457c550017a90105fd143;hp=e55d4fe4aa8905720db872fcc5aa65d7c58ccbbe;hpb=507f4c6ffaf241abbde6edee8389156e238749ca;p=openwrt.git diff --git a/package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch b/package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch index e55d4fe4aa..c039f41451 100644 --- a/package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch +++ b/package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch @@ -62,7 +62,7 @@ Signed-off-by: Hauke Mehrtens +{ + if (dev->bus_type == B43_BUS_SSB) + return (dev->sdev->bus->bustype == SSB_BUSTYPE_PCI); -+#ifdef CONFIG_B43_BCMA ++#ifdef CPTCFG_B43_BCMA + if (dev->bus_type == B43_BUS_BCMA) + return (dev->bdev->bus->hosttype == BCMA_HOSTTYPE_PCI); +#endif