MTHCA] bugfix: PoStartNextPowerIrp was erroneously called with the next stack locatio...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 7 Jun 2006 10:41:55 +0000 (10:41 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 7 Jun 2006 10:41:55 +0000 (10:41 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@376 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mthca/kernel/hca_pnp.c

index e07930f..4b37e8e 100644 (file)
@@ -1471,8 +1471,8 @@ __PowerDownCb(
 \r
        mthca_remove_one( p_ext );\r
 \r
-       IoSkipCurrentIrpStackLocation( p_irp );\r
        PoStartNextPowerIrp( p_irp );\r
+       IoSkipCurrentIrpStackLocation( p_irp );\r
        PoCallDriver( p_ext->cl_ext.p_next_do, p_irp );\r
        IoReleaseRemoveLock( &p_ext->cl_ext.remove_lock, p_irp );\r
 \r