mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "qcacld-3.0: Add NULL check before dereferencing pdev" into wlan-cld3.driver.lnx.1.1-dev
This commit is contained in:
commit
e6148d6dc8
1 changed files with 4 additions and 0 deletions
|
|
@ -2469,6 +2469,10 @@ int wma_mgmt_tx_completion_handler(void *handle, uint8_t *cmpl_event_params,
|
|||
struct wmi_desc_t *wmi_desc;
|
||||
|
||||
ol_txrx_pdev_handle pdev = cds_get_context(QDF_MODULE_ID_TXRX);
|
||||
if (!pdev) {
|
||||
WMA_LOGE("%s: txrx pdev is NULL", __func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (pdev == NULL) {
|
||||
WMA_LOGE("%s: NULL pdev pointer", __func__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue