bcmf_driver:wlan interface status reset by unsolicited wpa packet

Avoid incorrect NIC flag Settings

Signed-off-by: xuchaojie <xuchaojie@xiaomi.com>
This commit is contained in:
xuchaojie 2023-10-24 12:39:04 +08:00 committed by archer
parent 55ec92e181
commit cefb170ea7

View File

@ -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;