Remove duplicated CONFIG_AP_MODE check.