Turning off WIFI makes the whole system stuck on gnome

The whole system gets stuck and when trying to turn off it also gets stuck on LVM2 module which i don’t really have any knowledge about.
These are all the system details.

System Details Report


Report details

  • Date generated: 2023-12-26 04:54:10

Hardware Information:

  • Hardware Model: Dell Inc. Latitude 5490
  • Memory: 8.0 GiB
  • Processor: Intel® Core™ i5-8350U × 8
  • Graphics: Intel® UHD Graphics 620 (KBL GT2)
  • Disk Capacity: 256.1 GB

Software Information:

  • Firmware Version: 1.31.0
  • OS Name: EndeavourOS
  • OS Build: rolling
  • OS Type: 64-bit
  • GNOME Version: 45.2
  • Windowing System: Wayland
  • Kernel Version: Linux 6.6.7-arch1-1