MTHCA] bugfix: PoStartNextPowerIrp was erroneously called with the next stack locatio...
[mirror/winof/.git] / 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