1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
ZyXEL_PMG5617GA/package/broadcom-wl/patches/912-pci-bus-nvram-hack.patch
2022-11-27 10:16:14 +00:00

12 lines
412 B
Diff

--- a/driver/siutils.c
+++ b/driver/siutils.c
@@ -1859,7 +1859,7 @@ BCMINITFN(si_devpath)(si_t *sih, char *p
case PCI_BUS:
ASSERT((SI_INFO(sih))->osh != NULL);
slen = snprintf(path, (size_t)size, "pci/%u/%u/",
- OSL_PCI_BUS((SI_INFO(sih))->osh),
+ OSL_PCI_BUS((SI_INFO(sih))->osh) + 1,
OSL_PCI_SLOT((SI_INFO(sih))->osh));
break;
case PCMCIA_BUS: