Merge "[RDKB][DT][SYNC][OSBNB00182646][MTK_ASK_7.3][RC5]6GHz radio stops beaconing intermittently"
diff --git a/src/logan_wifi/wifi_hal.c b/src/logan_wifi/wifi_hal.c
index 273e2d6..9d07a30 100644
--- a/src/logan_wifi/wifi_hal.c
+++ b/src/logan_wifi/wifi_hal.c
@@ -5573,7 +5573,7 @@
 	if (NULL == output_string)
 		return RETURN_ERR;
 
-	char buf[128] = {0};
+	char buf[256] = {0};
 	BOOL dfs_enable = false;
 	int phyId = 0, res;
 
@@ -5589,8 +5589,8 @@
 	if (res) {
 		wifi_debug(DEBUG_ERROR, "_syscmd_secure fail\n");
 	}
-	strncpy(output_string, buf, strlen(buf) < sizeof(buf) ? strlen(buf) : sizeof(buf));
-
+	strncpy(output_string, buf, strlen(buf));
+	output_string[strlen(buf)]='\0';
 	WIFI_ENTRY_EXIT_DEBUG("Exiting %s:%d\n",__func__, __LINE__);
 	return RETURN_OK;
 }