netdev: downgrade L_WARN_ON for ensure_eapol_registered
This warning is guaranteed to happen for SAE networks where there are multiple netdev_authenticate_events. This should just be a check so we don't register eapol twice, not a warning.
This commit is contained in:
parent
9a5c64481e
commit
5cf826c73a
|
@ -2898,7 +2898,7 @@ static bool kernel_will_retry_auth(uint16_t status_code,
|
|||
|
||||
static void netdev_ensure_eapol_registered(struct netdev *netdev)
|
||||
{
|
||||
if (L_WARN_ON(netdev->sm))
|
||||
if (netdev->sm)
|
||||
return;
|
||||
|
||||
netdev->sm = eapol_sm_new(netdev->handshake);
|
||||
|
|
Loading…
Reference in New Issue