diff options
author | Andres More <more.andres@gmail.com> | 2010-07-12 13:55:43 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 11:42:27 -0700 |
commit | 5926b9ae320eadc22e33466b560f6ce1890f1780 (patch) | |
tree | 95515d03115f4761a7766a46d12571cacdb904e7 /drivers/staging/vt6656 | |
parent | 68746744b123045228a860bfb9fa21ae4688be01 (diff) |
staging: vt6656: removed Adhoc_STA definition
Removed an always defined macro, perhaps used to patch the driver
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/ttype.h | 5 | ||||
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 4 | ||||
-rw-r--r-- | drivers/staging/vt6656/wmgr.c | 3 | ||||
-rw-r--r-- | drivers/staging/vt6656/wmgr.h | 3 |
4 files changed, 1 insertions, 14 deletions
diff --git a/drivers/staging/vt6656/ttype.h b/drivers/staging/vt6656/ttype.h index a9f4a16d8239..38191745723a 100644 --- a/drivers/staging/vt6656/ttype.h +++ b/drivers/staging/vt6656/ttype.h @@ -31,11 +31,6 @@ /******* Common definitions and typedefs ***********************************/ -//2008-0131-02<Add>by MikeLiu -#ifndef Adhoc_STA -#define Adhoc_STA -#endif - typedef int BOOL; #if !defined(TRUE) diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 4f348801324c..6610721ed6cf 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -565,11 +565,9 @@ void vRunCommand(void *hDeviceContext) return; } -//20080131-03,<Add> by Mike Liu - #ifdef Adhoc_STA memcpy(pMgmt->abyAdHocSSID,pMgmt->abyDesireSSID, ((PWLAN_IE_SSID)pMgmt->abyDesireSSID)->len + WLAN_IEHDR_LEN); - #endif + pItemSSID = (PWLAN_IE_SSID)pMgmt->abyDesireSSID; pItemSSIDCurr = (PWLAN_IE_SSID)pMgmt->abyCurrSSID; DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" cmd: desire ssid = %s\n", pItemSSID->abySSID); diff --git a/drivers/staging/vt6656/wmgr.c b/drivers/staging/vt6656/wmgr.c index e2c98bd61c57..e4eca9b060b1 100644 --- a/drivers/staging/vt6656/wmgr.c +++ b/drivers/staging/vt6656/wmgr.c @@ -2467,11 +2467,8 @@ void vMgrCreateOwnIBSS(void *hDeviceContext, pDevice->uCurrRSSI = 0; pDevice->byCurrSQ = 0; -//20080131-04,<Add> by Mike Liu -#ifdef Adhoc_STA memcpy(pMgmt->abyDesireSSID,pMgmt->abyAdHocSSID, ((PWLAN_IE_SSID)pMgmt->abyAdHocSSID)->len + WLAN_IEHDR_LEN); -#endif memset(pMgmt->abyCurrSSID, 0, WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1); memcpy(pMgmt->abyCurrSSID, diff --git a/drivers/staging/vt6656/wmgr.h b/drivers/staging/vt6656/wmgr.h index 28f8ad421fde..683840c0ac45 100644 --- a/drivers/staging/vt6656/wmgr.h +++ b/drivers/staging/vt6656/wmgr.h @@ -291,10 +291,7 @@ typedef struct tagSMgmtObject BYTE abyDesireBSSID[WLAN_BSSID_LEN]; //restore BSS info for Ad-Hoc mode -//20080131-05,<Add> by Mike Liu -#ifdef Adhoc_STA BYTE abyAdHocSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1]; -#endif // Adhoc or AP configuration vars WORD wIBSSBeaconPeriod; |