diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-02-25 09:32:57 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-02-25 09:32:57 +0000 |
| commit | c858986248f9ee86835be732f413824c0e42d729 (patch) | |
| tree | d9862674659f5e7f7d5852b632f8fc29d275f25f /SerialPort.c | |
| parent | 64d58d0c5a01551f8bfc52291986d1b8d681aca5 (diff) | |
New upstream version 6.0.24.65+repackupstream/6.0.24.65+repack
Diffstat (limited to 'SerialPort.c')
| -rw-r--r-- | SerialPort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SerialPort.c b/SerialPort.c index 3cda40e..2df4ed6 100644 --- a/SerialPort.c +++ b/SerialPort.c @@ -770,9 +770,9 @@ VOID * SerialExtInit(EXTPORTDATA * PortEntry) }
TNC->Port = port;
- TNC->Hardware = H_SERIAL;
-
TNC->PortRecord = PortEntry;
+ TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_SERIAL;
+
if (PortEntry->PORTCONTROL.PORTCALL[0] == 0)
memcpy(TNC->NodeCall, MYNODECALL, 10);
|
