mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Merge pull request #323 from Informatic/fix/msm8916-payload-size
firehos: fix MaxPayloadSizeToTargetInBytes handling
This commit is contained in:
commit
b01e7e2dd8
1 changed files with 1 additions and 1 deletions
|
@ -889,7 +889,7 @@ class firehose(metaclass=LogBase):
|
||||||
else:
|
else:
|
||||||
self.error("Error on EDL Authentification")
|
self.error("Error on EDL Authentification")
|
||||||
return False
|
return False
|
||||||
elif "MaxPayloadSizeToTargetInBytes" in line:
|
elif "MaxPayloadSizeToTargetInBytes" in rsp.data:
|
||||||
try:
|
try:
|
||||||
self.cfg.MemoryName = rsp.data["MemoryName"]
|
self.cfg.MemoryName = rsp.data["MemoryName"]
|
||||||
self.cfg.MaxPayloadSizeToTargetInBytes = int(rsp.data["MaxPayloadSizeToTargetInBytes"])
|
self.cfg.MaxPayloadSizeToTargetInBytes = int(rsp.data["MaxPayloadSizeToTargetInBytes"])
|
||||||
|
|
Loading…
Reference in a new issue