Forráskód Böngészése

qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lpass.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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I07b27f87102c640124312b31b550cc394096019a
CRs-Fixed: 2101050
Jeff Johnson 7 éve
szülő
commit
b763bb9da0
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      core/hdd/src/wlan_hdd_lpass.c

+ 2 - 2
core/hdd/src/wlan_hdd_lpass.c

@@ -89,7 +89,7 @@ static void wlan_hdd_get_channel_info(struct hdd_context *hdd_ctx,
  * Return: 0 if package was created, otherwise a negative errno
  */
 static int wlan_hdd_gen_wlan_status_pack(struct wlan_status_data *data,
-					 hdd_adapter_t *adapter,
+					 struct hdd_adapter *adapter,
 					 struct hdd_station_ctx *sta_ctx,
 					 uint8_t is_on, uint8_t is_connected)
 {
@@ -282,7 +282,7 @@ static void wlan_hdd_send_version_pkg(uint32_t fw_version,
  */
 static void wlan_hdd_send_all_scan_intf_info(struct hdd_context *hdd_ctx)
 {
-	hdd_adapter_t *adapter = NULL;
+	struct hdd_adapter *adapter = NULL;
 	hdd_adapter_list_node_t *node = NULL, *next = NULL;
 	bool scan_intf_found = false;
 	QDF_STATUS status;