aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-10-13 20:25:12 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-10-13 20:25:12 +0000
commitf731f1b1a97891c65ddb2c110d2fc9e864134e45 (patch)
tree50ca2ef254e850b938addae1e14a905d69bab54f /package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch
parent6c32d3980c3bc3f0df9640c6343f98e33dc9b283 (diff)
downloadmaster-187ad058-f731f1b1a97891c65ddb2c110d2fc9e864134e45.tar.gz
master-187ad058-f731f1b1a97891c65ddb2c110d2fc9e864134e45.tar.bz2
master-187ad058-f731f1b1a97891c65ddb2c110d2fc9e864134e45.zip
mac80211: b43: fix prefix for config options
Config options in backports are starting with CPTCFG and not with CONFIG_. CONFIG_B43_BCMA was never true. This closes #13883. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38385 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch')
-rw-r--r--package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch2
1 files changed, 1 insertions, 1 deletions
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 <hauke@hauke-m.de>
+{
+ 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