3
0
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:
Andrew Zaborowski 2018-05-22 14:10:06 +02:00 committed by Denis Kenzior
parent e6adb36621
commit 676a1f48c3

View File

@ -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);
}