summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-13 20:25:12 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-13 20:25:12 +0000
commit59b362a204a142edd38030eca3930fbfee072540 (patch)
tree9c6e509df80e8d0632be96a4154e33c023f1ba56 /package/kernel/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch
parent81e2f00367f4bda39d5cbc832c04bbe0e5984591 (diff)
downloadmtk-20170518-59b362a204a142edd38030eca3930fbfee072540.zip
mtk-20170518-59b362a204a142edd38030eca3930fbfee072540.tar.gz
mtk-20170518-59b362a204a142edd38030eca3930fbfee072540.tar.bz2
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> SVN-Revision: 38385
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 e55d4fe..c039f41 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