summaryrefslogtreecommitdiff
path: root/HALDriver.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-02-25 09:32:57 +0000
committerDave Hibberd <hibby@debian.org>2025-02-25 09:32:57 +0000
commitc858986248f9ee86835be732f413824c0e42d729 (patch)
treed9862674659f5e7f7d5852b632f8fc29d275f25f /HALDriver.c
parent64d58d0c5a01551f8bfc52291986d1b8d681aca5 (diff)
New upstream version 6.0.24.65+repackupstream/6.0.24.65+repack
Diffstat (limited to 'HALDriver.c')
-rw-r--r--HALDriver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/HALDriver.c b/HALDriver.c
index a914a38..408ff97 100644
--- a/HALDriver.c
+++ b/HALDriver.c
@@ -499,15 +499,15 @@ VOID * HALExtInit(EXTPORTDATA * PortEntry)
}
TNC->Port = port;
+ TNC->PortRecord = PortEntry;
- TNC->Hardware = H_HAL;
+ TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_HAL;
if (PortEntry->PORTCONTROL.PORTINTERLOCK && TNC->RXRadio == 0 && TNC->TXRadio == 0)
TNC->RXRadio = TNC->TXRadio = PortEntry->PORTCONTROL.PORTINTERLOCK;
PortEntry->MAXHOSTMODESESSIONS = 1; // Default
- TNC->PortRecord = PortEntry;
if (PortEntry->PORTCONTROL.PORTCALL[0] == 0)
{