]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/commitdiff
The Windows drivers push the network frontend to state Closed, then
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:48 +0000 (12:55 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:48 +0000 (12:55 +0100)
Initialised, then Closed again as part of device disable.  Make sure
the backend doesn't get stuck at closed.

drivers/xen/netback/xenbus.c

index 986257f693b8997c37f886a778b1477655c26ab5..5e4924c07958790c221d204bdd7db54efd8edc1f 100644 (file)
@@ -259,8 +259,8 @@ static void frontend_changed(struct xenbus_device *dev,
                        printk(KERN_INFO "%s: %s: prepare for reconnect\n",
                               __FUNCTION__, dev->nodename);
                        disconnect_backend(dev);
-                       xenbus_switch_state(dev, XenbusStateInitWait);
                }
+               xenbus_switch_state(dev, XenbusStateInitWait);
                break;
 
        case XenbusStateInitialised: