Revert "[[OSBNB00182981][RDKB]enable/disable WPS,  WPS clients are not able to connect]"

This reverts commit 5025a6d4796bfe9cef0ebfc3f657bb1395b90ee7.

Reason for revert: <this change has side effect on bootup time>

Change-Id: Icc60d5ac1fd9e62af86f02640dbd0aec9706f379
diff --git a/src/logan_wifi/wifi_hal.c b/src/logan_wifi/wifi_hal.c
index 02b8cbb..3fb7348 100644
--- a/src/logan_wifi/wifi_hal.c
+++ b/src/logan_wifi/wifi_hal.c
@@ -22533,7 +22533,7 @@
 	unsigned char ap_array_num;
 	char interface_name[IF_NAME_SIZE] = {0};
 	char bridge_name[WIFI_BRIDGE_NAME_LEN] = {0};
-	unsigned char hostapd_if_restart = 0, hostapd_allif_restart = 0, hostapd_disable_enable = 0;
+	unsigned char hostapd_if_restart = 0, hostapd_allif_restart = 0;
 	struct params params[1];
 
 	WIFI_ENTRY_EXIT_DEBUG("Inside %s:%d\n",__func__, __LINE__);
@@ -22620,10 +22620,10 @@
 			wifi_debug(DEBUG_ERROR, "wifi_setApSecurity return error\n");
 		}
 
-		if (wifi_setApWpsEnable(vap_info->vap_index, vap_info->u.bss_info.wps.enable) == RETURN_OK)
-			hostapd_disable_enable = 1;
-		else
+		ret = wifi_setApWpsEnable(vap_info->vap_index, vap_info->u.bss_info.wps.enable);
+		if (ret != RETURN_OK) {
 			wifi_debug(DEBUG_ERROR, "wifi_setApWpsEnable return error\n");
+		}
 
 		if (vap_info->u.bss_info.enabled == TRUE) {
 			wifi_getApEnable(vap_info->vap_index, &apEnable);
@@ -22652,8 +22652,6 @@
 		if (!hostapd_allif_restart) {
 			if (hostapd_if_restart)
 				hostapd_raw_restart_bss(vap_info->vap_index);
-			else if (hostapd_disable_enable)
-				wifi_reloadAp(vap_info->vap_index);
 			else
 				wifi_quick_reload_ap(vap_info->vap_index);
 		}