Consistency

This commit is contained in:
Cryptic 2021-09-25 03:22:00 -07:00
parent 19023d70fa
commit 9cdfb81e4b
No known key found for this signature in database
GPG key ID: 6027B509EFE3A76B

View file

@ -483,7 +483,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, string bootargs){
try {
std::string board = getDeviceBoardNoCopy();
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);
iBECKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBEC", board);
} else {
@ -889,7 +889,7 @@ void futurerestore::enterPwnRecovery2(plist_t build_identity, string bootargs){
try {
const char *board = getDeviceBoardNoCopy();
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);
iBECKeys = libipatcher::getFirmwareKey(_client->device->product_type, _client->build, "iBEC", board);
} else {