We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc2354b commit 35e96b9Copy full SHA for 35e96b9
components/wpa_supplicant/esp_supplicant/src/esp_wps.c
@@ -1771,6 +1771,11 @@ int wps_task_deinit(void)
1771
wps_rxq_deinit();
1772
}
1773
1774
+ if (s_wps_data_lock) {
1775
+ os_mutex_delete(s_wps_data_lock);
1776
+ s_wps_data_lock = NULL;
1777
+ }
1778
+
1779
return ESP_OK;
1780
1781
@@ -1803,7 +1808,7 @@ int wps_task_init(void)
1803
1808
1804
1809
1805
1810
os_bzero(s_wps_sig_cnt, SIG_WPS_NUM);
1806
- s_wps_queue = os_queue_create(SIG_WPS_NUM, sizeof(s_wps_queue));
1811
+ s_wps_queue = os_queue_create(SIG_WPS_NUM, sizeof(ETSEvent));
1807
1812
if (!s_wps_queue) {
1813
wpa_printf(MSG_ERROR, "wps task init: failed to alloc queue");
1814
goto _wps_no_mem;
0 commit comments