[mythtv-commits] Ticket #12184: CI/CAM: Connection establishment for not spec compliant CAMs broken
MythTV
noreply at mythtv.org
Tue Jun 24 08:23:50 UTC 2014
#12184: CI/CAM: Connection establishment for not spec compliant CAMs broken
--------------------------------------+-------------------------
Reporter: ast@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
This is for MythTV 0.27.1.
I do have a CAM that unconditionally sends T_SB for tcid 2 on connection
open which is not spec compliant. MythTV basically provisions for such
cases in cCiTransportConnection::CreateConnection().
However, cCiTransportConnection::RecvTPDU() breaks this as it
unconditionally calls Init() on any "error", thus resetting the processing
state from CREATION to IDLE.
The attached patch fixes this for my case and should be seen as a sample
workaround. Actually some interworking between CreateConnection() and
RecvTPDU() is required to handle the retry cases in state CREATION
properly.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12184>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list