mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 02:51:03 +02:00
Merge branch 'bugfix/esp32s2_ap_mac_address' into 'master'
esp_wifi: fix esp32s2 ap mac address can not find. See merge request espressif/esp-idf!8010
This commit is contained in:
@@ -174,6 +174,8 @@ esp_err_t esp_read_mac(uint8_t* mac, esp_mac_type_t type)
|
||||
if(memcmp(mac,mac_begin,6) >= 0 && memcmp(mac_end,mac,6) >=0 ){
|
||||
mac[3] += 0x02; // contain carry bit
|
||||
mac[4] += 0xd0;
|
||||
} else {
|
||||
mac[5] += 1;
|
||||
}
|
||||
#else
|
||||
mac[5] += 1;
|
||||
|
Reference in New Issue
Block a user