* Re: [PATCH 1/3] hwsim: don't print on when send frame fails
@ 2022-02-14 22:06 Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-02-14 22:06 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
Hi James,
On 2/14/22 14:34, James Prestwood wrote:
> This happens quite often and spams the console with this error.
> ---
> tools/hwsim.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/3] hwsim: don't print on when send frame fails
@ 2022-02-14 20:34 James Prestwood
0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2022-02-14 20:34 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
This happens quite often and spams the console with this error.
---
tools/hwsim.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tools/hwsim.c b/tools/hwsim.c
index 7c32b869..f74dd82e 100644
--- a/tools/hwsim.c
+++ b/tools/hwsim.c
@@ -1336,11 +1336,7 @@ static void send_frame_callback(struct l_genl_msg *msg, void *user_data)
{
struct send_frame_info *info = user_data;
- if (l_genl_msg_get_error(msg) < 0)
- /* Radio address or frequency didn't match */
- l_debug("HWSIM_CMD_FRAME failed for destination %s",
- util_address_to_string(info->radio->addrs[0]));
- else {
+ if (l_genl_msg_get_error(msg) == 0) {
info->frame->acked = true;
info->frame->ack_radio = info->radio;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-14 22:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 22:06 [PATCH 1/3] hwsim: don't print on when send frame fails Denis Kenzior
-- strict thread matches above, loose matches on Subject: below --
2022-02-14 20:34 James Prestwood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.