mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
fix(wifi): Run tools/format.sh on WiFi component
This commit is contained in:
@@ -83,8 +83,9 @@ static nan_ctx_t s_nan_ctx;
|
||||
|
||||
void esp_wifi_nan_get_ipv6_linklocal_from_mac(ip6_addr_t *ip6, uint8_t *mac_addr)
|
||||
{
|
||||
if (ip6 == NULL || mac_addr == NULL)
|
||||
if (ip6 == NULL || mac_addr == NULL) {
|
||||
return;
|
||||
}
|
||||
/* Link-local prefix. */
|
||||
ip6->addr[0] = htonl(0xfe800000ul);
|
||||
ip6->addr[1] = 0;
|
||||
|
||||
Reference in New Issue
Block a user