summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-20 14:20:03 +0100
committerGravatar Nikias Bassen2013-11-20 14:20:03 +0100
commit47eba3dd43ce36c05b060082c7e32682d9be99bb (patch)
tree47e717bf26471e0743be61b91dc6e8b3d55cc726 /src
parent44516697f38fa0f096ec48ee782e3d6f954195b5 (diff)
downloadidevicerestore-47eba3dd43ce36c05b060082c7e32682d9be99bb.tar.gz
idevicerestore-47eba3dd43ce36c05b060082c7e32682d9be99bb.tar.bz2
tss: remove Info node from BasebandFirmware data for TSS request
Diffstat (limited to 'src')
-rw-r--r--src/tss.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index 886752a..b32f066 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -442,8 +442,12 @@ int tss_request_add_baseband_tags_from_manifest(plist_t request, plist_t build_i
error("ERROR: Unable to get BasebandFirmware node\n");
return -1;
}
- plist_dict_insert_item(request, "BasebandFirmware", plist_copy(bb_node));
+ plist_t bbfwdict = plist_copy(bb_node);
bb_node = NULL;
+ if (plist_dict_get_item(bbfwdict, "Info")) {
+ plist_dict_remove_item(bbfwdict, "Info");
+ }
+ plist_dict_insert_item(request, "BasebandFirmware", bbfwdict);
/* apply overrides */
if (overrides) {