mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 05:44:19 +08:00
- Don't add the protocol to the protocol list if binding failed
svn path=/branches/aicom-network-fixes/; revision=36557
This commit is contained in:
@@ -43,6 +43,8 @@ NdisCompleteBindAdapter(
|
||||
{
|
||||
PROTOCOL_BINDING *Protocol = (PROTOCOL_BINDING *)BindAdapterContext;
|
||||
|
||||
if (!NT_SUCCESS(Status)) return;
|
||||
|
||||
/* Put protocol binding struct on global list */
|
||||
ExInterlockedInsertTailList(&ProtocolListHead, &Protocol->ListEntry, &ProtocolListLock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user