summaryrefslogtreecommitdiff
path: root/KISSHF.c
diff options
context:
space:
mode:
Diffstat (limited to 'KISSHF.c')
-rw-r--r--KISSHF.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/KISSHF.c b/KISSHF.c
index 0c066ff..ec2d29a 100644
--- a/KISSHF.c
+++ b/KISSHF.c
@@ -809,10 +809,10 @@ VOID * KISSHFExtInit(EXTPORTDATA * PortEntry)
}
TNC->Port = port;
- TNC->Hardware = H_KISSHF;
+ TNC->PortRecord = PortEntry;
+ TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_KISSHF;
TNC->ARDOPBuffer = malloc(8192);
- TNC->PortRecord = PortEntry;
if (PortEntry->PORTCONTROL.PORTCALL[0] == 0)
memcpy(TNC->NodeCall, MYNODECALL, 10);