HomeFreeBSD

linux_80211: Don't dequeue lsta if not queued

Description

linux_80211: Don't dequeue lsta if not queued

This fixes an instapanic when restarting wpa_supplicant on my laptop's
iwlwifi device. After this change, iwlwifi enters a nonfunctional
state if wpa_supplicant is restarted, but "service netif restart wlan0"
is enough to get it working again.

releng/13.2 candidate.

Reviewed by: bz
MFC after: 3 days

(cherry picked from commit 3689f8aeab82150da6789be87b6c2f9385810c23)

Details

Provenance
cpercivaAuthored on Mar 5 2023, 8:10 PM
Parents
rGaa399ad3e554: bcm_dma: don't dereference NULL softc
Branches
Unknown
Tags
Unknown