From: Mihai Sain <mihai.sain@microchip.com>
To: <ajay.kathat@microchip.com>, <claudiu.beznea@tuxon.dev>
Cc: <linux-wireless@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
"Mihai Sain" <mihai.sain@microchip.com>
Subject: [PATCH 1/6] wifi: wilc1000: Use netdev_err() for WoWLAN trigger errors
Date: Mon, 23 Nov 2026 15:41:15 +0200 [thread overview]
Message-ID: <20261123134120.32638-2-mihai.sain@microchip.com> (raw)
In-Reply-To: <20261123134120.32638-1-mihai.sain@microchip.com>
Use netdev_err() instead of pr_err() when reporting failures to
send the WoWLAN trigger configuration packet.
This associates the error message with the relevant network
interface, making diagnostics more informative.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
drivers/net/wireless/microchip/wilc1000/hif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/microchip/wilc1000/hif.c b/drivers/net/wireless/microchip/wilc1000/hif.c
index 60fe5f08964f..3b7d42ebf59a 100644
--- a/drivers/net/wireless/microchip/wilc1000/hif.c
+++ b/drivers/net/wireless/microchip/wilc1000/hif.c
@@ -1031,7 +1031,7 @@ void wilc_set_wowlan_trigger(struct wilc_vif *vif, bool enabled)
ret = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1);
if (ret)
- pr_err("Failed to send wowlan trigger config packet\n");
+ netdev_err(vif->ndev, "Failed to send wowlan trigger config packet\n");
}
int wilc_set_external_auth_param(struct wilc_vif *vif,
--
2.56.1
next prev parent reply other threads:[~2026-11-23 13:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 13:41 [PATCH 0/6] wifi: wilc1000: Improve error logging Mihai Sain
2026-11-23 13:41 ` Mihai Sain [this message]
2026-11-23 13:41 ` [PATCH 2/6] wifi: wilc1000: Use wiphy_err() for interface limit error Mihai Sain
2026-11-23 13:41 ` [PATCH 3/6] wifi: wilc1000: Use device-specific logging for interrupt errors Mihai Sain
2026-11-23 13:41 ` [PATCH 4/6] wifi: wilc1000: Use device-specific error logging Mihai Sain
2026-11-23 13:41 ` [PATCH 5/6] wifi: wilc1000: Use device-specific error logging for MAC address retrieval failure Mihai Sain
2026-11-23 13:41 ` [PATCH 6/6] wifi: wilc1000: Use device-specific logging Mihai Sain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123134120.32638-2-mihai.sain@microchip.com \
--to=mihai.sain@microchip.com \
--cc=ajay.kathat@microchip.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox