mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 01:19:23 +01:00
hwsim: don't print on when send frame fails
This happens quite often and spams the console with this error.
This commit is contained in:
parent
3a91efd3a8
commit
b1c4a505b2
@ -1336,11 +1336,7 @@ static void send_frame_callback(struct l_genl_msg *msg, void *user_data)
|
|||||||
{
|
{
|
||||||
struct send_frame_info *info = user_data;
|
struct send_frame_info *info = user_data;
|
||||||
|
|
||||||
if (l_genl_msg_get_error(msg) < 0)
|
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 {
|
|
||||||
info->frame->acked = true;
|
info->frame->acked = true;
|
||||||
info->frame->ack_radio = info->radio;
|
info->frame->ack_radio = info->radio;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user