diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-22 11:03:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:51:41 -0800 |
commit | 88ebc4b950e344a8024ab46cccfb506a81f70634 (patch) | |
tree | b211ee4455fee4da9758618260c0831e75800ce0 /drivers/staging/winbond/bssdscpt.h | |
parent | 65144de7989badce1782cc3319d9b8b2b5805acc (diff) |
Staging: w35und: padapter struct typedef removal
Remove the PADAPTER typedef and its strange variants. Also fix up variable
names that use the type while we're at it.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/bssdscpt.h')
-rw-r--r-- | drivers/staging/winbond/bssdscpt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/winbond/bssdscpt.h b/drivers/staging/winbond/bssdscpt.h index 97150a2655f..6f557cbb96d 100644 --- a/drivers/staging/winbond/bssdscpt.h +++ b/drivers/staging/winbond/bssdscpt.h @@ -78,7 +78,7 @@ typedef struct BSSDescriptionElement u16 wState; // the current state of the system u16 wIndex; // THIS BSS element entry index - void* psAdapter; // pointer to THIS Adapter + void* psadapter; // pointer to THIS adapter OS_TIMER nTimer; // MLME timer // Authentication @@ -148,9 +148,9 @@ typedef struct BSSDescriptionElement } WB_BSSDESCRIPTION, *PWB_BSSDESCRIPTION; -#define wBSSConnectedSTA(Adapter) \ - ((u16)(Adapter)->sLocalPara.wConnectedSTAindex) +#define wBSSConnectedSTA(adapter) \ + ((u16)(adapter)->sLocalPara.wConnectedSTAindex) -#define psBSS(i) (&(Adapter->asBSSDescriptElement[(i)])) +#define psBSS(i) (&(adapter->asBSSDescriptElement[(i)])) |