qcacmn: Add Null checks in CDP Layer
Part-2: Add Null checks for all the API's in CDP Layer. Change-Id: I8a4628f79880aff1212dee132016e8e48fe721fc CRs-Fixed: 2136173
This commit is contained in:

committed by
snandini

parent
aa62ae7615
commit
c4a6b8480b
@@ -48,10 +48,9 @@ cdp_set_ocb_chan_info(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
|
||||
}
|
||||
|
||||
if (soc->ops->ocb_ops->set_ocb_chan_info)
|
||||
return soc->ops->ocb_ops->set_ocb_chan_info(vdev,
|
||||
soc->ops->ocb_ops->set_ocb_chan_info(vdev,
|
||||
ocb_set_chan);
|
||||
|
||||
return;
|
||||
}
|
||||
/**
|
||||
* cdp_get_ocb_chan_info() - return handle to vdev ocb_channel_info
|
||||
|
Reference in New Issue
Block a user