diff --git a/os_dep/recv_linux.c b/os_dep/recv_linux.c index 4367c2d..619aed0 100644 --- a/os_dep/recv_linux.c +++ b/os_dep/recv_linux.c @@ -232,9 +232,8 @@ _func_exit_; _recv_indicatepkt_drop: - /* enqueue back to free_recv_queue */ - if (precv_frame) - rtw_free_recvframe(precv_frame, pfree_recv_queue); + /* enqueue back to free_recv_queue */ + rtw_free_recvframe(precv_frame, pfree_recv_queue); _func_exit_; return _FAIL;