mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Add NULL pointer check for coex_ops
Add NULL pointer check for coex_ops. Change-Id: I7e839ed6f8d1ebe9745c5d6094c31613bd620d19 CRs-Fixed: 2773955
This commit is contained in:
parent
5040a3b6ed
commit
a77e55a3ec
1 changed files with 1 additions and 2 deletions
|
|
@ -77,8 +77,7 @@ tgt_send_coex_config(struct wlan_objmgr_vdev *vdev,
|
|||
}
|
||||
|
||||
coex_ops = wlan_psoc_get_coex_txops(psoc);
|
||||
QDF_ASSERT(coex_ops->coex_config_send);
|
||||
if (coex_ops->coex_config_send)
|
||||
if (coex_ops && coex_ops->coex_config_send)
|
||||
return coex_ops->coex_config_send(pdev, param);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue