Make iwx(4) get the primary channel number from AP beacon info, rather
authorstsp <stsp@openbsd.org>
Mon, 6 Mar 2023 11:42:11 +0000 (11:42 +0000)
committerstsp <stsp@openbsd.org>
Mon, 6 Mar 2023 11:42:11 +0000 (11:42 +0000)
commit1f98265a0b8413dc0836375c947e40168384aba2
tree60d79f0e1681c7f3ad33e3e192c405cfb9365efe
parentf40fa9e6cfdd7377a18bd1c1ad24bcb6a6eeb77f
Make iwx(4) get the primary channel number from AP beacon info, rather
than assuming that it always matches our currently configured channel.
Should prevent problems on 40/80Mhz channels if there is a mismatch.
sys/dev/pci/if_iwx.c