Commit ff87dbc9 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Greg Kroah-Hartman

staging: vt6655: remove unnecessary typedef struct.

Remove a totally unnecessary typedef and rename it to lowercase.
This is more readable now.
Signed-off-by: default avatarMartin Kepplinger <martink@posteo.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15974dce
...@@ -998,7 +998,7 @@ CARDbAdd_PMKID_Candidate( ...@@ -998,7 +998,7 @@ CARDbAdd_PMKID_Candidate(
) )
{ {
PSDevice pDevice = (PSDevice) pDeviceHandler; PSDevice pDevice = (PSDevice) pDeviceHandler;
PPMKID_CANDIDATE pCandidateList; struct pmkid_candidate *pCandidateList;
unsigned int ii = 0; unsigned int ii = 0;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate START: (%d)\n", (int)pDevice->gsPMKIDCandidate.NumCandidates); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate START: (%d)\n", (int)pDevice->gsPMKIDCandidate.NumCandidates);
......
...@@ -227,10 +227,10 @@ typedef enum _NDIS_802_11_STATUS_TYPE ...@@ -227,10 +227,10 @@ typedef enum _NDIS_802_11_STATUS_TYPE
} NDIS_802_11_STATUS_TYPE, *PNDIS_802_11_STATUS_TYPE; } NDIS_802_11_STATUS_TYPE, *PNDIS_802_11_STATUS_TYPE;
//Added new types for PMKID Candidate lists. //Added new types for PMKID Candidate lists.
typedef struct _PMKID_CANDIDATE { struct pmkid_candidate {
NDIS_802_11_MAC_ADDRESS BSSID; NDIS_802_11_MAC_ADDRESS BSSID;
unsigned long Flags; unsigned long Flags;
} PMKID_CANDIDATE, *PPMKID_CANDIDATE; };
typedef struct _BSSID_INFO typedef struct _BSSID_INFO
{ {
...@@ -248,7 +248,7 @@ typedef struct tagSPMKIDCandidateEvent { ...@@ -248,7 +248,7 @@ typedef struct tagSPMKIDCandidateEvent {
NDIS_802_11_STATUS_TYPE StatusType; NDIS_802_11_STATUS_TYPE StatusType;
unsigned long Version; // Version of the structure unsigned long Version; // Version of the structure
unsigned long NumCandidates; // No. of pmkid candidates unsigned long NumCandidates; // No. of pmkid candidates
PMKID_CANDIDATE CandidateList[MAX_PMKIDLIST]; struct pmkid_candidate CandidateList[MAX_PMKIDLIST];
} SPMKIDCandidateEvent, *PSPMKIDCandidateEvent; } SPMKIDCandidateEvent, *PSPMKIDCandidateEvent;
//-- //--
......
...@@ -4438,7 +4438,7 @@ bAdd_PMKID_Candidate( ...@@ -4438,7 +4438,7 @@ bAdd_PMKID_Candidate(
) )
{ {
PSDevice pDevice = (PSDevice)hDeviceContext; PSDevice pDevice = (PSDevice)hDeviceContext;
PPMKID_CANDIDATE pCandidateList; struct pmkid_candidate *pCandidateList;
unsigned int ii = 0; unsigned int ii = 0;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate START: (%d)\n", (int)pDevice->gsPMKIDCandidate.NumCandidates); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate START: (%d)\n", (int)pDevice->gsPMKIDCandidate.NumCandidates);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment