diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-06-29 11:36:57 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-06-29 11:36:57 +0100 |
| commit | 23de03a0c8bf8a564cc0442f49d050ed11e372b8 (patch) | |
| tree | 7cc837d9215b6e427db85c443d0ea1f6874e2aa0 /L2Code.c | |
| parent | 7aa6cec9300c8a3e9ef98b19791ad324d487512e (diff) | |
New upstream version 6.0.25.33.1+repackupstream/6.0.25.33.1+repack
Diffstat (limited to 'L2Code.c')
| -rw-r--r-- | L2Code.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -4726,10 +4726,16 @@ int seeifInterlockneeded(struct PORTCONTROL * PORT) int i;
int Interlock = PORT->PORTINTERLOCK;
struct TNCINFO * TNC;
+ char Cmd[64];
if (Interlock == 0)
return 0; // No locking
+ // I think we need to stop scanning here
+
+ sprintf(Cmd, "%d SCANSTOP", PORT->PORTNUMBER);
+ Rig_Command( (TRANSPORTENTRY *) -1, Cmd);
+
for (i = 1; i <= MAXBPQPORTS; i++)
{
TNC = TNCInfo[i];
@@ -4753,6 +4759,7 @@ int seeifUnlockneeded(struct _LINKTABLE * LINK) int Interlock;
struct TNCINFO * TNC;
struct PORTCONTROL * PORT = LINK->LINKPORT;
+ char Cmd[64];
if (PORT == NULL)
return 0;
@@ -4795,6 +4802,14 @@ int seeifUnlockneeded(struct _LINKTABLE * LINK) TNC->ReleasePortProc(TNC);
}
+ if (Interlock == 0)
+ return 0; // No locking
+
+ // I think we need to start scanning here
+
+ sprintf(Cmd, "%d SCANSTART 15", LINK->LINKPORT->PORTNUMBER);
+ Rig_Command((TRANSPORTENTRY *)-1, Cmd);
+
return 0;
}
|
