BugID:17394649:remove HAL_Sys_Net_Is_Ready() before publish message in dm_client_adapter.c
@@ -102,11 +102,7 @@ int dm_client_publish(char *uri, unsigned char *payload, int payload_len)
pub_param.sync_timeout = 0;
pub_param.ack_cb = NULL;
- if (HAL_Sys_Net_Is_Ready()) {
res = iotx_cm_pub(ctx->fd, &pub_param, (const char *)uri, (const char *)payload, (unsigned int)payload_len);
- } else {
- dm_log_err("Network Is Not Ready");
- }
dm_log_info("Publish Result: %d", res);
