]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Get channel number from frequency based on other modes as well
authorPeng Xu <pxu@qca.qualcomm.com>
Wed, 22 Feb 2017 22:05:35 +0000 (14:05 -0800)
committerJouni Malinen <j@w1.fi>
Sun, 26 Feb 2017 10:24:03 +0000 (12:24 +0200)
commit5b9f46df0e19111a64c6036df59076f879777988
tree41614a6f2ed2f5f749533d9689dc6c21d2ef864a
parent4c8836f13985f2e3cfe26398de86065f8bcb3be3
hostapd: Get channel number from frequency based on other modes as well

When getting the channel number from a frequency, all supported modes
should be checked rather than just the current mode. This is needed when
hostapd switches to a channel in different band.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/hw_features.c