You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/06/13 13:01:17 UTC

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

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

xiaoxiang 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 ce7c9ae65 wireless/wapi: fix wapi wpa_wconfig_s sta_mode data type error
ce7c9ae65 is described below

commit ce7c9ae65b1500dff1cbf5867cdb90d7c2bda46b
Author: Norman Rasmussen <no...@rasmussen.co.za>
AuthorDate: Mon Jun 13 04:08:54 2022 -0700

    wireless/wapi: fix wapi wpa_wconfig_s sta_mode data type error
---
 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 01a80e694..fcddf54e7 100644
--- a/include/wireless/wapi.h
+++ b/include/wireless/wapi.h
@@ -271,7 +271,7 @@ enum wpa_alg_e
 
 struct wpa_wconfig_s
 {
-  uint8_t sta_mode;              /* Mode of operation, e.g. IW_MODE_INFRA */
+  enum wapi_mode_e sta_mode;     /* Mode of operation, e.g. IW_MODE_INFRA */
   uint8_t auth_wpa;              /* IW_AUTH_WPA_VERSION values, e.g.
                                   * IW_AUTH_WPA_VERSION_WPA2 */
   uint8_t cipher_mode;           /* IW_AUTH_PAIRWISE_CIPHER and