]> granicus.if.org Git - esp-idf/commitdiff
doc/wifi: small fixup
authorAvraham Shukron <avrahamshukron@users.noreply.github.com>
Wed, 13 Jun 2018 05:45:41 +0000 (08:45 +0300)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 9 Jul 2018 06:35:51 +0000 (14:35 +0800)
The WiFi station connect sequence diagram does not have any "successful" ending.
It looks like a copy-paste error, because there are two consequent `SYSTEM_EVENT_STA_DISCONNECTED` events firing with nothing happening in between.

I think the original meaning was that the last event should be `SYSTEM_EVENT_STA_CONNECTED` to signify that if all goes well, that is the event that will be fired.

Merges https://github.com/espressif/esp-idf/pull/2065

docs/en/api-guides/wifi.rst

index 1c1f326cf397aaaaf45d3352b364d67facc2fccb..fe1f3b7438b1dfe36f473c601df4a800abad2f46 100644 (file)
@@ -699,7 +699,7 @@ Scenario:
         EVENT_TASK <-  WIFI_TASK [label="4.6 > SYSTEM_EVENT_STA_DISCONNECTED"];
         WIFI_TASK  ->  AP        [label="4.7 > 4/4 EAPOL"];
         EVENT_TASK <-  WIFI_TASK [label="4.8 > SYSTEM_EVENT_STA_DISCONNECTED"];
-        EVENT_TASK <-  WIFI_TASK [label="4.9 > SYSTEM_EVENT_STA_DISCONNECTED"];
+        EVENT_TASK <-  WIFI_TASK [label="4.9 > SYSTEM_EVENT_STA_CONNECTED"];
     }