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 2021/07/10 04:34:14 UTC

[incubator-nuttx] 02/02: bcm43xxx: supported IW_AUTH_CIPHER_NONE mode

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.git

commit 9e278889380c9168d0ed0a28c022581b8cc2beb7
Author: Alexander Lunev <al...@mail.ru>
AuthorDate: Sat Jul 10 02:15:19 2021 +0300

    bcm43xxx: supported IW_AUTH_CIPHER_NONE mode
---
 drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
index 724689f..f0ed29e 100644
--- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
+++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
@@ -1294,6 +1294,10 @@ int bcmf_wl_set_auth_param(FAR struct bcmf_dev_s *priv, struct iwreq *iwr)
 
           switch (iwr->u.param.value)
             {
+              case IW_AUTH_CIPHER_NONE:
+                cipher_mode = OPEN_AUTH;
+                break;
+
               case IW_AUTH_CIPHER_WEP40:
               case IW_AUTH_CIPHER_WEP104:
                 cipher_mode = WEP_ENABLED;