]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/winbond/bssdscpt.h
Staging: w35und: padapter struct typedef removal
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / bssdscpt.h
index 97150a2655fb18af461e5d770d330e9a7c48440d..6f557cbb96dbc0cd61efc5ac6ef5ed8b7ae29d20 100644 (file)
@@ -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)]))