PCI: fix aer resume sanity check
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 1 Dec 2008 07:31:06 +0000 (16:31 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Dec 2008 21:26:45 +0000 (13:26 -0800)
commitb0b801dd7de3d77bb143d3c98199b487df0fc63a
tree3b751a26a91b1b1373f6c61a23b727f50d205532
parent1bda71282ded6a2e09a2db7c8884542fb46bfd4f
PCI: fix aer resume sanity check

What we have to check here before calling is err_handler->resume, not
->slot_reset.  Looks like a copy & paste error from report_slot_reset.

Acked-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv_core.c