- Add a hack so that registering an interface after a remove and reconnect works
svn path=/branches/usb-bringup-trunk/; revision=55193
/* If the symbolic link already exists, return an informational success status */
if (SymLinkStatus == STATUS_OBJECT_NAME_COLLISION)
/* If the symbolic link already exists, return an informational success status */
if (SymLinkStatus == STATUS_OBJECT_NAME_COLLISION)
+ {
+ /* HACK: Delete the existing symbolic link and update it to the new PDO name */
+ IoDeleteSymbolicLink(SymbolicLinkName);
+ IoCreateSymbolicLink(SymbolicLinkName, &PdoNameInfo->Name);
SymLinkStatus = STATUS_OBJECT_NAME_EXISTS;
SymLinkStatus = STATUS_OBJECT_NAME_EXISTS;
if (!NT_SUCCESS(SymLinkStatus))
{
if (!NT_SUCCESS(SymLinkStatus))
{