Browse Source

qcacmn: Replace hdd_adapter_t in wlan_logging_sock_svc

The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia5177a671f3657a23e88ec1a47c6ed0ac569934a
CRs-Fixed: 2100985
Jeff Johnson 7 years ago
parent
commit
fa099795fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/logging/src/wlan_logging_sock_svc.c

+ 1 - 1
utils/logging/src/wlan_logging_sock_svc.c

@@ -1236,7 +1236,7 @@ static void send_packetdump(qdf_nbuf_t netbuf, uint8_t status,
 	struct ath_pktlog_hdr pktlog_hdr = {0};
 	struct packet_dump pd_hdr = {0};
 	struct hdd_context *hdd_ctx;
-	hdd_adapter_t *adapter;
+	struct hdd_adapter *adapter;
 	v_CONTEXT_t vos_ctx;
 
 	vos_ctx = cds_get_global_context();