kalua: switch: query_swconfig() wrong varname used