diff options
| author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2026-09-13 02:26:53 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-09-13 02:26:53 +0000 |
| commit | f616f8a83ba1bf8aa41003837c11a0f0955efed8 (patch) | |
| tree | a4533a01abb96ab0c62381cbfc25edffa3b66212 /lib/libthread_db/(public-mirror) | |
| parent | 741cd29526e0033c5b8282f79cae828bf2ad12a8 (diff) | |
When interface is up and running 'kldunload if_iwx' stops the device and executes RUN -> INIT state transition.
Since the device is already stopped iwx_run_stop fails to stop the device again and returns non-zero exit code from iv_newstate callback which triggers 'INIT state change failed' assertion.
I reused IWX_FLAG_SHUTDOWN flag to:
a) set it in iwx_detach
b) check it in iwx_newstate_sub - when it is set all custom state transition logic is skipped
Accidentally found while experimenting with iwlwifi / iwx drivers
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D59624
Diffstat (limited to 'lib/libthread_db/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
