qcacld-3.0: Avoid NULL pointer dereference

In function hdd_is_connection_in_progress the arguments
out_vdev_id and out_reason can be NULL. For device mode
is SAP or P2P_GO possible NULL dereference can happen.

Add NULL check for out_vdev_id and out_reason before
dereference.

Change-Id: I9c5c88f41f510483a01fe7b355538942360bd641
CRs-Fixed: 2531567
1 file changed