[PATCH 23/26] grlib,grspw_pkt: correct link state enum numbering

Daniel Hellstrom daniel at gaisler.com
Mon Jun 29 11:28:10 UTC 2020


Not used by the driver itself, but shuold be correct if used by
application.
---
 bsps/include/grlib/grspw_pkt.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/include/grlib/grspw_pkt.h b/bsps/include/grlib/grspw_pkt.h
index 595625b..ede60b7 100644
--- a/bsps/include/grlib/grspw_pkt.h
+++ b/bsps/include/grlib/grspw_pkt.h
@@ -150,8 +150,8 @@ typedef enum {
 	SPW_LS_ERRRST = 0,
 	SPW_LS_ERRWAIT = 1,
 	SPW_LS_READY = 2,
-	SPW_LS_CONNECTING = 3,
-	SPW_LS_STARTED = 4,
+	SPW_LS_STARTED = 3,
+	SPW_LS_CONNECTING = 4,
 	SPW_LS_RUN = 5
 } spw_link_state_t;
 
-- 
2.7.4



More information about the devel mailing list