mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Reset the cached state to XenbusStateInitialising on resume -- we're connecting
to a new backend, so the state value needs to be reset. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
631caafe95
commit
f9eb14bf6a
1 file changed
+2
@@ -825,6 +825,8 @@ static int resume_dev(struct device *dev, void *data)
|
||||
return err;
|
||||
}
|
||||
|
||||
xdev->state = XenbusStateInitialising;
|
||||
|
||||
if (drv->resume)
|
||||
err = drv->resume(xdev);
|
||||
if (err)
|
||||
|
||||