htcleo: changed unique WiFi address by using IEEE Standards 00:23:76:XX:XX:XX for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76

This commit is contained in:
tytung 2011-08-19 00:49:38 +08:00
parent f6c36f2d66
commit cc7e778762

View File

@ -126,7 +126,7 @@ static int parse_tag_msm_wifi(void)
sid1 = crc32(~0, &id1, 4);
sid2 = crc32(~0, &id2, 4);
sid3 = crc32(~0, &id3, 4);
sprintf(nvs_mac_addr, "macaddr=00:90:4c:%2x:%2x:%2x\n", sid1 % 0xff, sid2 % 0xff, sid3 % 0xff);
sprintf(nvs_mac_addr, "macaddr=00:23:76:%2x:%2x:%2x\n", sid1 % 0xff, sid2 % 0xff, sid3 % 0xff);
pr_info("Device Wifi Mac Address: %s\n", nvs_mac_addr);
return 0;
}