summaryrefslogtreecommitdiff
path: root/AEAPactor.c
diff options
context:
space:
mode:
Diffstat (limited to 'AEAPactor.c')
-rw-r--r--AEAPactor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/AEAPactor.c b/AEAPactor.c
index 2d5af4b..bb7a8d4 100644
--- a/AEAPactor.c
+++ b/AEAPactor.c
@@ -382,7 +382,8 @@ VOID * AEAExtInit(EXTPORTDATA * PortEntry)
TNC->Port = port;
- TNC->Hardware = H_AEA;
+ TNC->PortRecord = PortEntry;
+ TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_AEA;
TNC->TEXTMODE = FALSE;
@@ -390,8 +391,6 @@ VOID * AEAExtInit(EXTPORTDATA * PortEntry)
TNC->InitScript = _strupr(TNC->InitScript);
- TNC->PortRecord = PortEntry;
-
if (PortEntry->PORTCONTROL.PORTCALL[0] == 0)
{
memcpy(TNC->NodeCall, MYNODECALL, 10);