Update WTPDiscoveryState.c