airoha: prevent loosing of dynamically discoverd info on config reload
The fix is inspired by https://project.iopsys.eu/issues/12280
I've found out that when hostapd gets command UPDATE via control interface it re-fills internal hostapd_config structure even if config is not really changed. As a result some information that is discovered dynamically (in the case when it is not specified in the config) may be lost. Particularly value he_oper_centr_freq_seg0_idx becomes zero that finally leads to spam and generation of incorrect beacons and other frames.
I've looked to the hostapd 2.10 and found out that such dynamic parameters are explicitly copied from the old structure to the new one. So, I've backported this piece of code into the our hostapd.