mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
cosmetic fix: make the pci slot check more readable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5862 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b995887183
commit
8edf5da485
@ -245,7 +245,7 @@ diff -urN linux.old/arch/mips/pci/ops-rc32434.c linux.dev/arch/mips/pci/ops-rc32
|
||||
+ int ret;
|
||||
+ int delay = 1;
|
||||
+
|
||||
+ if (bus->number == 0 && (devfn >> 3) > 21)
|
||||
+ if (bus->number == 0 && PCI_SLOT(devfn) > 21)
|
||||
+ return 0;
|
||||
+
|
||||
+retry:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user