mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacmn: check if peer pointer is NULL
In dp_rx_process function, check if peer pointer is NULL before using as argument when calling dp_rx_deliver_to_stack. Change-Id: I6584c79047a809f28e65faad47d1c7220e7057bb CRs-Fixed: 2470345
This commit is contained in:
parent
709f9fb68f
commit
43a7ab4549
1 changed files with 1 additions and 1 deletions
|
|
@ -2038,7 +2038,7 @@ done:
|
|||
dp_peer_unref_del_find_by_id(peer);
|
||||
}
|
||||
|
||||
if (deliver_list_head)
|
||||
if (deliver_list_head && peer)
|
||||
dp_rx_deliver_to_stack(vdev, peer, deliver_list_head,
|
||||
deliver_list_tail);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue