This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new cefb170ea7 bcmf_driver:wlan interface status reset by unsolicited wpa
packet
cefb170ea7 is described below
commit cefb170ea7875d3df0dae305c565fb2db2f0868f
Author: xuchaojie <[email protected]>
AuthorDate: Tue Oct 24 12:39:04 2023 +0800
bcmf_driver:wlan interface status reset by unsolicited wpa packet
Avoid incorrect NIC flag Settings
Signed-off-by: xuchaojie <[email protected]>
---
drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
index 879e8fc941..ab7b789f69 100644
--- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
+++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
@@ -632,7 +632,7 @@ void bcmf_wl_auth_event_handler(FAR struct bcmf_dev_s *priv,
if (type == WLC_E_PSK_SUP)
{
- carrier = (reason == WLC_E_SUP_OTHER) ? 1 : 0;
+ carrier = ((reason == WLC_E_SUP_OTHER) || (reason == 0)) ? 1 : 0;
if (priv->auth_pending)
{
priv->auth_status = reason;