diff options
author | Nikias Bassen | 2013-11-20 14:20:03 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-11-20 14:20:03 +0100 |
commit | 47eba3dd43ce36c05b060082c7e32682d9be99bb (patch) | |
tree | 47e717bf26471e0743be61b91dc6e8b3d55cc726 /src | |
parent | 44516697f38fa0f096ec48ee782e3d6f954195b5 (diff) | |
download | idevicerestore-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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) { |