]> 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:51:17 +0000 (21:51 -0800)
commit648bd2b1a6ebafddb07cbc024d42b99b7eaa1c9e
treeab8f956afab0877c57743b79b6da075916ef31a1
parent139825753995ca25a1d40df9f067a1fa4e847d44
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.

Approved by: re (kib)

(cherry picked from commit 3689f8aeab82150da6789be87b6c2f9385810c23)
(cherry picked from commit 790dc4d825c910c8a2eda49fe9e6dd827519f0f4)
sys/compat/linuxkpi/common/src/linux_80211.c