diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-06-29 11:37:02 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-06-29 11:37:02 +0100 |
| commit | 4069b590bab97f853f74b35643ee18e85d3d2faf (patch) | |
| tree | ae63202436cefa22a47500b8f8ed2cffb1ea69da /L2Code.c | |
| parent | 53233bad3c533ed5b2e9034c97a3f3b4683a5628 (diff) | |
| parent | 23de03a0c8bf8a564cc0442f49d050ed11e372b8 (diff) | |
Update upstream source from tag 'upstream/6.0.25.33.1+repack'
Update to upstream version '6.0.25.33.1+repack'
with Debian dir e413f4c5ca4f2d5d40bfb161d45fca5eabc730f3
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;
}
|
