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:
Venkata Sharath Chandra Manchala
2017-10-25 12:18:08 -07:00
committed by snandini
parent aa62ae7615
commit c4a6b8480b
8 changed files with 475 additions and 124 deletions

View File

@@ -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