summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/utils/fwlog/dbglog_host.c6
-rw-r--r--core/utils/nlink/src/wlan_nlink_srv.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/core/utils/fwlog/dbglog_host.c b/core/utils/fwlog/dbglog_host.c
index 599a5cb2e82e..b77342f042d7 100644
--- a/core/utils/fwlog/dbglog_host.c
+++ b/core/utils/fwlog/dbglog_host.c
@@ -1643,7 +1643,7 @@ int send_fw_diag_nl_data(const uint8_t *buffer, A_UINT32 len,
memcpy(nlmsg_data(nlh) + sizeof(radio), buffer, len);
res = nl_srv_bcast(skb_out);
- if (res < 0) {
+ if ((res < 0) && (res != -ESRCH)) {
AR_DEBUG_PRINTF(ATH_DEBUG_RSVD1,
("%s: nl_srv_bcast failed 0x%x\n",
__func__, res));
@@ -1743,7 +1743,7 @@ send_diag_netlink_data(const uint8_t *buffer, A_UINT32 len, A_UINT32 cmd)
memcpy(slot->payload, buffer, len);
res = nl_srv_bcast(skb_out);
- if (res < 0) {
+ if ((res < 0) && (res != -ESRCH)) {
AR_DEBUG_PRINTF(ATH_DEBUG_RSVD1,
("%s: nl_srv_bcast failed 0x%x\n",
__func__, res));
@@ -1803,7 +1803,7 @@ dbglog_process_netlink_data(wmi_unified_t wmi_handle, const uint8_t *buffer,
memcpy(slot->payload, buffer, len);
res = nl_srv_bcast(skb_out);
- if (res < 0) {
+ if ((res < 0) && (res != -ESRCH)) {
AR_DEBUG_PRINTF(ATH_DEBUG_RSVD1,
("%s: nl_srv_ucast failed 0x%x\n",
__func__, res));
diff --git a/core/utils/nlink/src/wlan_nlink_srv.c b/core/utils/nlink/src/wlan_nlink_srv.c
index cf50721723aa..cc55b5308bad 100644
--- a/core/utils/nlink/src/wlan_nlink_srv.c
+++ b/core/utils/nlink/src/wlan_nlink_srv.c
@@ -377,7 +377,7 @@ int nl_srv_bcast(struct sk_buff *skb)
err = netlink_broadcast(nl_srv_sock, skb, 0,
WLAN_NLINK_MCAST_GRP_ID, flags);
- if (err < 0) {
+ if ((err < 0) && (err != -ESRCH)) {
QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_WARN,
"NLINK: netlink_broadcast failed err = %d", err);
}