mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 09:31:36 +00:00
Fix: initialize the variable 'buf_star'
This commit is contained in:
parent
b778fb9424
commit
d6f7d9d882
@ -768,7 +768,7 @@ __inline static union recv_frame *rxmem_to_recvframe(u8 *rxmem)
|
|||||||
__inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
__inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
||||||
{
|
{
|
||||||
|
|
||||||
u8 *buf_star;
|
u8 *buf_star = NULL;
|
||||||
union recv_frame *precv_frame;
|
union recv_frame *precv_frame;
|
||||||
precv_frame = rxmem_to_recvframe((unsigned char *)buf_star);
|
precv_frame = rxmem_to_recvframe((unsigned char *)buf_star);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user