X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8ba3ef273d1db30086d486959af4c617468b3ea1..d81767c11909492ee8adab787b48207b347bc6f0:/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch diff --git a/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch b/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch index 4837fe740..0a329c00a 100644 --- a/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch +++ b/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch @@ -11,7 +11,7 @@ Signed-off-by: Hauke Mehrtens --- a/drivers/ssb/driver_pcicore.c +++ b/drivers/ssb/driver_pcicore.c -@@ -75,7 +75,7 @@ static u32 get_cfgspace_addr(struct ssb_ +@@ -74,7 +74,7 @@ static u32 get_cfgspace_addr(struct ssb_ u32 tmp; /* We do only have one cardbus device behind the bridge. */ @@ -19,4 +19,4 @@ Signed-off-by: Hauke Mehrtens + if (pc->cardbusmode && (dev > 1)) goto out; - /* Type 0 transaction */ + if (bus == 0) {