My iwn device can no longer scan for access points with stable/13

From: John Schneider <>
Date: Thu, 17 Feb 2022 00:27:48 UTC

Today I upgraded from releng/13.0 to stable/13 but found my iwn device
could no longer scan for access points.  I rolled back to releng/13.0 and
everything was fine again.  No config changes were made during the upgrade
or rollback process.

/var/log/messages contained messages such as the one below with each scan
Feb 16 16:12:33 mobile1 wpa_supplicant[385]: wlan0: CTRL-EVENT-SCAN-FAILED
ret=-1 retry=1

I didn't see any other errors except ACPI stuff which looked normal to me
for this machine.  For reference, here is the pciconf output for my device:

iwn0@pci0:2:0:0:        class=0x028000 rev=0x35 hdr=0x00 vendor=0x8086
422b subvendor=0x8086 subdevice=0x1121
   vendor     = 'Intel Corporation'
   device     = 'Centrino Ultimate-N 6300'
   class      = network

Is it possible that work being done for iwlwifi could affect scanning with
iwn and other drivers?  On a separate subject, I had tested iwlwifi on a
separate machine with stable/13 and an AX201 and it was quite stable
(though slow as has been reported by others). Keep up the great work!