win-pvdrivers

changeset 681:78bd7b215672

merge
author James Harper <james.harper@bendigoit.com.au>
date Fri Oct 09 09:30:24 2009 +1100 (2009-10-09)
parents d9f38ad6bd19 bccfedce08ea
children 38fd04771db8
files
line diff
     1.1 --- a/xenpci/xenpci_pdo.c	Fri Oct 09 09:23:56 2009 +1100
     1.2 +++ b/xenpci/xenpci_pdo.c	Fri Oct 09 09:30:24 2009 +1100
     1.3 @@ -2307,10 +2307,12 @@ XenPciPdo_EvtDeviceD0Exit(WDFDEVICE devi
     1.4    else
     1.5    {
     1.6      status = XenPci_XenShutdownDevice(device);
     1.7 -    /* Remove watch on backend state */
     1.8 -    RtlStringCbPrintfA(path, ARRAY_SIZE(path), "%s/state", xppdd->backend_path);
     1.9 -    XenBus_RemWatch(xpdd, XBT_NIL, path, XenPci_BackendStateHandler, device);
    1.10    }
    1.11 +  
    1.12 +  /* Remove watch on backend state */
    1.13 +  RtlStringCbPrintfA(path, ARRAY_SIZE(path), "%s/state", xppdd->backend_path);
    1.14 +  XenBus_RemWatch(xpdd, XBT_NIL, path, XenPci_BackendStateHandler, device);
    1.15 +  
    1.16    FUNCTION_EXIT();
    1.17    
    1.18    return status;