Wireshark 4.4.0 / macOS 14.6.1 wifi if monitor mode
## Summary When you launch Wireshark 4.4.0 and exit the wifi interface is stuck in monitor mode. ## Steps to reproduce 1) Launch Wireshark 2) Exit 3) Look at status of wifi interface. It will be in monitor mode. ## What is the current bug behavior? On launch, the wifi interface *if not associated* will enter monitor mode. If you check the interface setup in Wireshark, the "monitor mode" checkbox is unchecked. (I use the ethernet interface on my Mac mini M2)<br/> This does *not* occur on my MacBook Pro 2020, which also runs on ethernet. ## What is the expected correct behavior? a) The wifi interface should not enter monitor mode.<br/> b) monitor mode should only be entered when checkbox is highlighted. ## Sample capture file NA ## Relevant logs and/or screenshots ``` (Paste any relevant logs) ``` ## Build information ``` Wireshark 4.4.0 (v4.4.0-0-g009a163470b5). Copyright 1998-2024 Gerald Combs <gerald@wireshark.org> and contributors. Licensed under the terms of the GNU General Public License (version 2 or later). This is free software; see the file named COPYING in the distribution. There is NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled (64-bit) using Clang 14.0.3 (clang-1403.0.22.14.1), with GLib 2.76.6, with Qt 6.5.3, with libpcap, without POSIX capabilities, with zlib 1.2.11, with zlib-ng 2.1.6, with PCRE2, with Lua 5.4.6, with GnuTLS 3.8.4 and PKCS #11 support, with Gcrypt 1.10.2, with Kerberos (MIT), with MaxMind, with nghttp2 1.56.0, with nghttp3 0.15.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.11.9, with libsmi 0.4.8, with Minizip 1.3.0, with QtMultimedia, with automatic updates using Sparkle, with binary plugins. Running on macOS 14.6.1, build 23G93 (Darwin 23.6.0), with Apple M2, with 16384 MB of physical memory, with GLib 2.76.6, with Qt 6.5.3, with libpcap 1.10.1, with zlib 1.2.12, with PCRE2 10.39 2021-10-29, with c-ares 1.19.1, with GnuTLS 3.8.4, with Gcrypt 1.10.2, with nghttp2 1.56.0, with nghttp3 0.15.0, with brotli 1.0.9, with LZ4 1.9.4, with Zstandard 1.5.5, with libsmi 0.4.8, with LC_TYPE=en_GB.UTF-8, binary plugins supported. ```
issue