aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorTrent Piepho <[email protected]>2009-03-20 14:56:00 -0600
committerJesse Barnes <[email protected]>2009-03-20 14:56:45 -0700
commit90bdb3117f4209baa6d712b126f0e7791b24dc3f (patch)
tree5c2ca7ae062bc8aef2ce0ceb7f49e78b0329fb8a /net/lapb/lapb_iface.c
parent79af72d716cf1bb13b175429cf181a6c4d063ee8 (diff)
PCI: don't scan existing devices
pci_scan_single_device is supposed to add newly discovered devices to pci_bus->devices, but doesn't check to see if the device has already been added. This can cause problems if we ever want to use this interface to rescan the PCI bus. If the device is already added, just return it. Signed-off-by: Trent Piepho <[email protected]> Signed-off-by: Alex Chiang <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions