From 06086d3a364ea97864b8ac3b4e9fa9fcad9d6183 Mon Sep 17 00:00:00 2001 From: Shyamal Khachane Date: Tue, 26 Dec 2023 12:59:57 +0530 Subject: [PATCH] fix(esp_wifi): Fix crash while stopping NAN Also fix inconsistent NAN macro values --- components/esp_wifi/lib | 2 +- components/esp_wifi/wifi_apps/include/esp_nan.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 0105d2a2df..0547195b3c 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 0105d2a2df2735a121bb1cd585658e59be03cf61 +Subproject commit 0547195b3c73188b21efaf7ff3ac3178990791b5 diff --git a/components/esp_wifi/wifi_apps/include/esp_nan.h b/components/esp_wifi/wifi_apps/include/esp_nan.h index 17c369f242..e0e9d90d81 100644 --- a/components/esp_wifi/wifi_apps/include/esp_nan.h +++ b/components/esp_wifi/wifi_apps/include/esp_nan.h @@ -26,8 +26,8 @@ extern "C" { #define NDP_STATUS_REJECTED 2 #define NAN_MAX_PEERS_RECORD 15 -#define ESP_NAN_PUBLISH 1 -#define ESP_NAN_SUBSCRIBE 2 +#define ESP_NAN_PUBLISH 2 +#define ESP_NAN_SUBSCRIBE 1 /** Parameters of a peer service record */ struct nan_peer_record {