Extract the control channel number from the chanspec information and
authorpatrick <patrick@openbsd.org>
Thu, 11 Jan 2018 19:33:34 +0000 (19:33 +0000)
committerpatrick <patrick@openbsd.org>
Thu, 11 Jan 2018 19:33:34 +0000 (19:33 +0000)
commit8b2458cfdde008e9d783e3d1ca11ccb13dfe642b
tree83909a2f94469ce69d32ca31924ff96f225a1a8d
parent2c69f144a8181649ea1cc44669bb2348ba69fd07
Extract the control channel number from the chanspec information and
apply the channel to the node, like iwm(4) does, when supplying the
scan response to the net80211 stack.  Our stack uses this information
for node selection so it's elementary for it to be correct.

Tested by jcs@
sys/dev/ic/bwfm.c
sys/dev/ic/bwfmreg.h