You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/04/14 15:24:38 UTC

[incubator-nuttx-apps] branch master updated: wireless/wapi: fix wapi wpa_wconfig_s alg data type error

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new d17c9509f wireless/wapi: fix wapi wpa_wconfig_s alg data type error
d17c9509f is described below

commit d17c9509f6fb9372a6e4e28d0822db8b15d0053a
Author: zrrong <zr...@bouffalolab.com>
AuthorDate: Wed Apr 13 14:26:26 2022 +0800

    wireless/wapi: fix wapi wpa_wconfig_s alg data type error
    
    Signed-off-by: zrrong <zr...@bouffalolab.com>
---
 include/wireless/wapi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/wireless/wapi.h b/include/wireless/wapi.h
index 75b1325de..01a80e694 100644
--- a/include/wireless/wapi.h
+++ b/include/wireless/wapi.h
@@ -277,7 +277,7 @@ struct wpa_wconfig_s
   uint8_t cipher_mode;           /* IW_AUTH_PAIRWISE_CIPHER and
                                   * IW_AUTH_GROUP_CIPHER values, e.g.,
                                   * IW_AUTH_CIPHER_CCMP */
-  uint8_t alg;                   /* See enum wpa_alg_e above, e.g.
+  enum wpa_alg_e alg;            /* See enum wpa_alg_e above, e.g.
                                   * WPA_ALG_CCMP */
   double freq;                   /* Channel frequency */
   enum wapi_freq_flag_e flag;    /* Channel frequency flag */