Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
dvblast
Commits
c9a9c0a5
Commit
c9a9c0a5
authored
Feb 20, 2010
by
Marian Ďurkovič
Committed by
Christophe Massiot
Feb 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix endless looping with PowerCAM PRO due to protocol violation.
parent
544a64a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
en50221.c
en50221.c
+2
-11
No files found.
en50221.c
View file @
c9a9c0a5
...
@@ -1812,7 +1812,7 @@ static void MMIOpen( access_t *p_access, int i_session_id )
...
@@ -1812,7 +1812,7 @@ static void MMIOpen( access_t *p_access, int i_session_id )
/*****************************************************************************
/*****************************************************************************
* InitSlot: Open the transport layer
* InitSlot: Open the transport layer
*****************************************************************************/
*****************************************************************************/
#define MAX_TC_RETRIES
20
#define MAX_TC_RETRIES
5
static
int
InitSlot
(
access_t
*
p_access
,
int
i_slot
)
static
int
InitSlot
(
access_t
*
p_access
,
int
i_slot
)
{
{
...
@@ -1826,7 +1826,7 @@ static int InitSlot( access_t * p_access, int i_slot )
...
@@ -1826,7 +1826,7 @@ static int InitSlot( access_t * p_access, int i_slot )
return
-
1
;
return
-
1
;
}
}
/*
This is out of the spec
*/
/*
Wait for T_CTC_REPLY
*/
for
(
i
=
0
;
i
<
MAX_TC_RETRIES
;
i
++
)
for
(
i
=
0
;
i
<
MAX_TC_RETRIES
;
i
++
)
{
{
uint8_t
i_tag
;
uint8_t
i_tag
;
...
@@ -1836,15 +1836,6 @@ static int InitSlot( access_t * p_access, int i_slot )
...
@@ -1836,15 +1836,6 @@ static int InitSlot( access_t * p_access, int i_slot )
pb_active_slot
[
i_slot
]
=
true
;
pb_active_slot
[
i_slot
]
=
true
;
break
;
break
;
}
}
if
(
TPDUSend
(
p_access
,
i_slot
,
T_CREATE_TC
,
NULL
,
0
)
!=
0
)
{
msg_Err
(
p_access
,
"en50221_Init: couldn't send TPDU on slot %d"
,
i_slot
);
continue
;
}
}
}
if
(
pb_active_slot
[
i_slot
]
)
if
(
pb_active_slot
[
i_slot
]
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment