Make athn(4) set the channel when hostap or monitor modes enter RUN state.
authorstsp <stsp@openbsd.org>
Thu, 15 Apr 2021 18:14:45 +0000 (18:14 +0000)
committerstsp <stsp@openbsd.org>
Thu, 15 Apr 2021 18:14:45 +0000 (18:14 +0000)
commit5f8ede55b16b0bbd3fc48143025ff3e69f67e60e
tree05a2d09a36cfe0c6b8104ad1640523e1e7d81be4
parentbedba225f934cfd102a3e67a045b387e3daece7e
Make athn(4) set the channel when hostap or monitor modes enter RUN state.

Fixes a problem where the hardware would end up using a different channel
than the one selected by net80211.

Found while investigating issues reported by trondd testing my athn RA patch.

ok deraadt@
sys/dev/ic/athn.c