summaryrefslogtreecommitdiff
path: root/WINMOR.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-02-25 09:32:59 +0000
committerDave Hibberd <hibby@debian.org>2025-02-25 09:32:59 +0000
commitf1d8b647c725087f6f31840216a9f74bb8550fa4 (patch)
treeced2d693756660941e2ee0592d07ce52679d80ab /WINMOR.c
parentbfcf049c56bcbc4bcace3c74388675558b19ed40 (diff)
parentc858986248f9ee86835be732f413824c0e42d729 (diff)
Update upstream source from tag 'upstream/6.0.24.65+repack'
Update to upstream version '6.0.24.65+repack' with Debian dir 324f0a8474810d3b7c7608927c00eb4ab0f2d606
Diffstat (limited to 'WINMOR.c')
-rw-r--r--WINMOR.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WINMOR.c b/WINMOR.c
index 51b77e5..5faf722 100644
--- a/WINMOR.c
+++ b/WINMOR.c
@@ -1462,11 +1462,12 @@ void * WinmorExtInit(EXTPORTDATA * PortEntry)
}
TNC->Port = port;
+ TNC->PortRecord = PortEntry;
if (TNC->ProgramPath)
TNC->WeStartedTNC = RestartTNC(TNC);
- TNC->Hardware = H_WINMOR;
+ TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_WINMOR;
if (TNC->BusyWait == 0)
TNC->BusyWait = 10;
@@ -1474,7 +1475,6 @@ void * WinmorExtInit(EXTPORTDATA * PortEntry)
if (TNC->BusyHold == 0)
TNC->BusyHold = 1;
- TNC->PortRecord = PortEntry;
if (PortEntry->PORTCONTROL.PORTCALL[0] == 0)
memcpy(TNC->NodeCall, MYNODECALL, 10);