mirror of
https://github.com/tihmstar/futurerestore.git
synced 2025-08-21 00:21:04 +00:00
Consistency
This commit is contained in:
parent
19023d70fa
commit
9cdfb81e4b
|
@ -483,7 +483,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, string bootargs){
|
||||||
try {
|
try {
|
||||||
std::string board = getDeviceBoardNoCopy();
|
std::string board = getDeviceBoardNoCopy();
|
||||||
info("Getting firmware keys for: %s\n", board.c_str());
|
info("Getting firmware keys for: %s\n", board.c_str());
|
||||||
if(board == "n71ap" || board == "n71map" || board == "n69ap" || board == "n69uap") {
|
if(board == "n71ap" || board == "n71map" || board == "n69ap" || board == "n69uap" || board == "n66ap" || board == "n66map") {
|
||||||
iBSSKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBSS", board);
|
iBSSKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBSS", board);
|
||||||
iBECKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBEC", board);
|
iBECKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBEC", board);
|
||||||
} else {
|
} else {
|
||||||
|
@ -889,7 +889,7 @@ void futurerestore::enterPwnRecovery2(plist_t build_identity, string bootargs){
|
||||||
try {
|
try {
|
||||||
const char *board = getDeviceBoardNoCopy();
|
const char *board = getDeviceBoardNoCopy();
|
||||||
info("BOARD: %s\n", board);
|
info("BOARD: %s\n", board);
|
||||||
if(board == "n71ap" || board == "n71map" || board == "n69ap" || board == "n69uap") {
|
if(board == "n71ap" || board == "n71map" || board == "n69ap" || board == "n69uap" || board == "n66ap" || board == "n66map") {
|
||||||
iBSSKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBSS", board);
|
iBSSKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBSS", board);
|
||||||
iBECKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBEC", board);
|
iBECKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBEC", board);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue