mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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
This commit is contained in:
parent
a56e968a35
commit
b763bb9da0
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue