aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-02-21 03:37:32 +1100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-02-21 03:50:54 +1100
commite98281afb7d9cf7429339c2aaa45f80fc0ce1584 (patch)
treeb493bb623e7bbca0585a8ce7f4d72a88f4fd4626
parentb5f771346eda116b723339ffd6e0c1a975ffa288 (diff)
downloadexternal_heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.zip
external_heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.gz
external_heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.bz2
Fixed incorrect method arguments causing PIT transfers to fail
-rw-r--r--heimdall/source/BridgeManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/heimdall/source/BridgeManager.cpp b/heimdall/source/BridgeManager.cpp
index 8fb678c..1065795 100644
--- a/heimdall/source/BridgeManager.cpp
+++ b/heimdall/source/BridgeManager.cpp
@@ -931,8 +931,8 @@ int BridgeManager::ReceivePitFile(unsigned char **pitBuffer) const
int receiveEmptyTransferFlags = (i == transferCount - 1) ? kEmptyTransferAfter : kEmptyTransferNone;
ReceiveFilePartPacket *receiveFilePartPacket = new ReceiveFilePartPacket();
- success = ReceivePacket(receiveFilePartPacket, receiveEmptyTransferFlags);
-
+ success = ReceivePacket(receiveFilePartPacket, kDefaultTimeoutReceive, receiveEmptyTransferFlags);
+
if (!success)
{
Interface::PrintError("Failed to receive PIT file part #%d!\n", i);