Use previously computed channel in cs_freq_params for Beacon frames
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 8 Sep 2015 09:46:11 +0000 (12:46 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 3 Oct 2015 16:02:49 +0000 (19:02 +0300)
commit9438e9c785b76bdd6919c79b84dc494d32983882
tree2da806360924431f4c9af180f793ca5feabe070d
parentdd124ee821e0c74e3cf837e0a620e9d03133f3f7
Use previously computed channel in cs_freq_params for Beacon frames

When CSA is started, hostapd_change_config_freq() computes the channel
from the provided frequency. Use this stored channel to add CSA IE in
Beacon frames, instead of recomputing the channel each time.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/ap/beacon.c