Browse Source

qcacld-3.0: Replace hdd_context_t in wlan_hdd_fips.c

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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I8a8189717acf389b326325c1edb64b7df904fa47
CRs-Fixed: 2100141
Jeff Johnson 7 years ago
parent
commit
9797fa1ae3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_fips.c

+ 1 - 1
core/hdd/src/wlan_hdd_fips.c

@@ -170,7 +170,7 @@ static int __hdd_fips_test(struct net_device *dev,
 			  union iwreq_data *wrqu, char *extra)
 {
 	hdd_adapter_t *adapter;
-	hdd_context_t *hdd_ctx;
+	struct hdd_context *hdd_ctx;
 	struct iw_fips_test_request *user_request;
 	struct iw_fips_test_response *user_response;
 	uint32_t request_len;