mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +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,6 +1171,7 @@ static void hwsim_frame_unref(struct hwsim_frame *frame)
|
||||
frame->flags |= HWSIM_TX_STAT_ACK;
|
||||
}
|
||||
|
||||
if (frame->src_radio)
|
||||
send_frame_tx_info(frame);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user