sm_antsw_to_cfg() fix