mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-24 06:52:37 +01:00
hwsim: Don't crash if source radio not found
We already print an error when this happens, no need to crash.
This commit is contained in:
parent
e6adb36621
commit
676a1f48c3
@ -1171,7 +1171,8 @@ static void hwsim_frame_unref(struct hwsim_frame *frame)
|
||||
frame->flags |= HWSIM_TX_STAT_ACK;
|
||||
}
|
||||
|
||||
send_frame_tx_info(frame);
|
||||
if (frame->src_radio)
|
||||
send_frame_tx_info(frame);
|
||||
}
|
||||
|
||||
l_genl_msg_unref(frame->msg);
|
||||
|
Loading…
Reference in New Issue
Block a user