From 8363d92fa62d6175b0e6517170026b04c09e7e74 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 29 Dec 2014 12:06:50 -0500 Subject: ich9gen: fix ARM. Initialize customMacAddress Fixes bug where custom MAC address would always be wrong. Tested on a BBB. --- (limited to 'resources/utilities/ich9deblob') diff --git a/resources/utilities/ich9deblob/src/ich9gen.c b/resources/utilities/ich9deblob/src/ich9gen.c index dfd1343..ad43a9d 100644 --- a/resources/utilities/ich9deblob/src/ich9gen.c +++ b/resources/utilities/ich9deblob/src/ich9gen.c @@ -69,6 +69,8 @@ int main(int argc, char *argv[]) } } for(i=0; i<6; i++) { + customMacAddress[i] = 0; + /* Go through each nibble of the byte */ for(j=0; j<2; j++) { if(argv[2][(i*3)+j]>='a' && argv[2][(i*3)+j]<='f') -- cgit v0.9.1