]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux_80211: Don't dequeue lsta if not queued
authorColin Percival <cperciva@FreeBSD.org>
Sun, 5 Mar 2023 20:10:57 +0000 (12:10 -0800)
committerColin Percival <cperciva@FreeBSD.org>
Wed, 8 Mar 2023 05:20:05 +0000 (21:20 -0800)
commit790dc4d825c910c8a2eda49fe9e6dd827519f0f4
tree209d39a4621e9707a7b8673793d2221dc2f4b8c2
parentaa399ad3e554223b8bf741c3933c38dec92eaf20
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)
sys/compat/linuxkpi/common/src/linux_80211.c