diff --git a/examples/wifi/wifi_aware/nan_console/main/nan_main.c b/examples/wifi/wifi_aware/nan_console/main/nan_main.c index 4884dd723b30..e37156859c84 100644 --- a/examples/wifi/wifi_aware/nan_console/main/nan_main.c +++ b/examples/wifi/wifi_aware/nan_console/main/nan_main.c @@ -103,7 +103,7 @@ static struct { } ping_args; static const char *TAG = "nan_console"; -static esp_netif_t *g_nan_netif = NULL; +static esp_netif_t *g_nan_netif; #define NAN_EXAMPLE_SERVICE_NAME "ESP_NAN-Service"