Explorar el Código

qcacld-3.0: Remove reason code check in wlan_hdd_connectivity_fail_event

In api wlan_hdd_connectivity_fail_event(), the reason code
of connect response is checked.

Removing the reason code check as there is no reason code
that is zero and this check is redundant.

Change-Id: Ib516cdba75fa8af6df13805313233fe9c02a3983
CRs-Fixed: 3486387
Vijay Raj hace 1 año
padre
commit
a87e645752
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      core/hdd/src/wlan_hdd_connectivity_logging.c

+ 0 - 3
core/hdd/src/wlan_hdd_connectivity_logging.c

@@ -1350,9 +1350,6 @@ wlan_hdd_connectivity_fail_event(struct wlan_objmgr_vdev *vdev,
 
 	WLAN_HOST_DIAG_EVENT_DEF(wlan_diag_event, struct wlan_diag_connect);
 
-	if (!rsp->reason)
-		return;
-
 	qdf_mem_zero(&wlan_diag_event, sizeof(struct wlan_diag_connect));
 
 	wlan_diag_event.diag_cmn.vdev_id = wlan_vdev_get_id(vdev);