qcacld-3.0: Fix potential NULL reference in wlan_ipa_uc_loaded_handler
In function wlan_ipa_uc_loaded_handler,the qdf_dev is as return of wlan_psoc_get_qdf_dev(),which maybe NULL,then NULL reference could occur later. Change-Id: I3c6d5af35934deef643cb600b1966c22769c71ed CRs-Fixed: 2250977
This commit is contained in:

committed by
nshrivas

orang tua
d6d1d3078e
melakukan
0db4f6506d
@@ -2447,6 +2447,10 @@ static void wlan_ipa_uc_loaded_handler(struct wlan_ipa_priv *ipa_ctx)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!qdf_dev) {
|
||||
ipa_err("qdf_dev is null");
|
||||
return;
|
||||
}
|
||||
/* Connect pipe */
|
||||
status = wlan_ipa_wdi_setup(ipa_ctx, qdf_dev);
|
||||
if (status) {
|
||||
|
Reference in New Issue
Block a user