From 639a9e4b775c1c65446bf647d52c0a58c8c76ffa Mon Sep 17 00:00:00 2001 From: schoeler Date: Mon, 6 Nov 2023 08:34:05 -0500 Subject: [PATCH] fix comparison operator on sntp packet handler --- components/si91x/sl_net/src/sl_net_si91x_integration_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/si91x/sl_net/src/sl_net_si91x_integration_handler.c b/components/si91x/sl_net/src/sl_net_si91x_integration_handler.c index a973dc85c..e2110c567 100644 --- a/components/si91x/sl_net/src/sl_net_si91x_integration_handler.c +++ b/components/si91x/sl_net/src/sl_net_si91x_integration_handler.c @@ -114,7 +114,7 @@ void sl_net_si91x_event_dispatch_handler(sl_si91x_queue_packet_t *data, sl_si91x #endif #ifdef SNTP_CLIENT_FEATURE - if (packet->command & RSI_WLAN_RSP_SNTP_CLIENT) { + if (packet->command == RSI_WLAN_RSP_SNTP_CLIENT) { si91x_sntp_event_handler(data); return; }