wireless/bcm43xxx: discard auth event if netdev down

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-06-30 13:00:29 +08:00 committed by Xiang Xiao
parent d861c7bfd9
commit d27129bc35
1 changed files with 5 additions and 0 deletions

View File

@ -622,6 +622,11 @@ void bcmf_wl_auth_event_handler(FAR struct bcmf_dev_s *priv,
return;
}
if (!priv->bc_bifup)
{
return;
}
bcmf_hexdump((uint8_t *)event, len, (unsigned long)event);
if (type == WLC_E_PSK_SUP)