]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Populate iface->freq before starting AP
authorAnkita Bajaj <bankita@codeaurora.org>
Mon, 18 Nov 2019 09:09:04 +0000 (14:39 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 20 Dec 2019 10:42:47 +0000 (12:42 +0200)
commitbb781c763f475a393743499aacb6da5edaf7eca3
tree68594eedb1e683ea49d41a0481096770581a70c8
parent41cac481a889e27cca73038e6c922624dfe2d07a
AP: Populate iface->freq before starting AP

Using channel field while starting AP will cause issues with the new
6GHz band as the channel numbers are duplicated between the different
bands. Populate iface->freq before starting AP so that it can be used
instead of the channel number for all validations that need to be done
while starting AP.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/acs.c
src/ap/hostapd.c
src/ap/hw_features.c