Explorar el Código

qcacmn: Fix coding errors detected by gcc 5+

With gcc 5+ utilized for driver building, more coding errors are
detected, some of which are valid issues.

Fix all those errors in one shot.

Change-Id: I263c70d4bff9ec0c3076103001cd7f2ccc8e0d1a
CRs-Fixed: 2176076
wadesong hace 7 años
padre
commit
94c7ce6864
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      wmi_unified_tlv.c

+ 1 - 1
wmi_unified_tlv.c

@@ -2504,7 +2504,7 @@ static QDF_STATUS send_scan_start_cmd_tlv(wmi_unified_t wmi_handle,
 	if (params->extraie.len)
 		extraie_len_with_pad =
 		roundup(params->extraie.len, sizeof(uint32_t));
-		len += extraie_len_with_pad;
+	len += extraie_len_with_pad;
 
 	len += WMI_TLV_HDR_SIZE; /* Length of TLV for array of wmi_vendor_oui */
 	if (ie_whitelist->num_vendor_oui)