fix hostapd a/g mode if only the channel is configured in the config