Since the recent addition of update op_class here in commit
3bc01a901803
("Update conf->op_class in hostapd_change_config_freq()") has needed at
least two fixes, it is good to get clear debug prints from it to be able
to figure out any potential remaining issues more easily.
Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
NUM_HOSTAPD_MODES)
return -1;
+ wpa_printf(MSG_DEBUG,
+ "%s:Update op_class %d->%d and channel=%d based on freq=%d",
+ __func__, conf->op_class, op_class, channel, params->freq);
conf->op_class = op_class;
hostapd_set_oper_centr_freq_seg0_idx(conf, seg0);
hostapd_set_oper_centr_freq_seg1_idx(conf, seg1);