From b763bb9da08484be6b8bc0ce5d5d908019e80258 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 29 Aug 2017 14:30:06 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_lpass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_lpass.c b/core/hdd/src/wlan_hdd_lpass.c index eecdfbd610ab..bde26515b8ec 100644 --- a/core/hdd/src/wlan_hdd_lpass.c +++ b/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;